[webkit-changes] cvs commit: WebCore/khtml/ecma kjs_html.cpp
Adele
adele at opensource.apple.com
Tue Jul 26 13:57:25 PDT 2005
adele 05/07/26 13:57:25
Modified: . Tag: Safari-2-0-branch ChangeLog
khtml/ecma Tag: Safari-2-0-branch kjs_html.cpp
Log:
Merged fix from TOT to Safari-2-0-branch
2005-04-26 Darin Adler <darin at apple.com>
Reviewed by Maciej.
- fixed <rdar://problem/4098826> Bezier curves broken in new Safari canvas object (last two parameters parsed incorrectly)
* khtml/ecma/kjs_html.cpp: (KJS::Context2DFunction::tryCall): Fixed incorrect argument indices.
Thanks to Brian Campbell who figured out what was wrong.
Revision Changes Path
No revision
No revision
1.4104.2.73 +13 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.4104.2.72
retrieving revision 1.4104.2.73
diff -u -r1.4104.2.72 -r1.4104.2.73
--- ChangeLog 26 Jul 2005 20:43:57 -0000 1.4104.2.72
+++ ChangeLog 26 Jul 2005 20:57:17 -0000 1.4104.2.73
@@ -2,6 +2,19 @@
Merged fix from TOT to Safari-2-0-branch
+ 2005-04-26 Darin Adler <darin at apple.com>
+
+ Reviewed by Maciej.
+
+ - fixed <rdar://problem/4098826> Bezier curves broken in new Safari canvas object (last two parameters parsed incorrectly)
+
+ * khtml/ecma/kjs_html.cpp: (KJS::Context2DFunction::tryCall): Fixed incorrect argument indices.
+ Thanks to Brian Campbell who figured out what was wrong.
+
+2005-07-26 Adele Peterson <adele at apple.com>
+
+ Merged fix from TOT to Safari-2-0-branch
+
2005-04-26 Adele Peterson <adele at apple.com>
Fixed by Darin, reviewed by me.
No revision
No revision
1.108.6.4 +2 -2 WebCore/khtml/ecma/kjs_html.cpp
Index: kjs_html.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/ecma/kjs_html.cpp,v
retrieving revision 1.108.6.3
retrieving revision 1.108.6.4
diff -u -r1.108.6.3 -r1.108.6.4
--- kjs_html.cpp 22 Jul 2005 01:18:29 -0000 1.108.6.3
+++ kjs_html.cpp 26 Jul 2005 20:57:24 -0000 1.108.6.4
@@ -3902,8 +3902,8 @@
float cp1y = (float)args[1].toNumber(exec);
float cp2x = (float)args[2].toNumber(exec);
float cp2y = (float)args[3].toNumber(exec);
- float x = (float)args[2].toNumber(exec);
- float y = (float)args[3].toNumber(exec);
+ float x = (float)args[4].toNumber(exec);
+ float y = (float)args[5].toNumber(exec);
CGContextAddCurveToPoint (drawingContext, cp1x, cp1y, cp2x, cp2y, x, y);
renderer->setNeedsImageUpdate();
break;
More information about the webkit-changes
mailing list