Title: [122572] trunk/Source/WebCore
- Revision
- 122572
- Author
- [email protected]
- Date
- 2012-07-13 06:53:29 -0700 (Fri, 13 Jul 2012)
Log Message
Fix checking for optional DeviceOrientationEvent.absolute in JSC bindings
https://bugs.webkit.org/show_bug.cgi?id=91225
Patch by Olivier Blin <[email protected]> on 2012-07-13
Reviewed by Steve Block.
This issue comes from r105036
* bindings/js/JSDeviceOrientationEventCustom.cpp:
(WebCore::JSDeviceOrientationEvent::initDeviceOrientationEvent):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (122571 => 122572)
--- trunk/Source/WebCore/ChangeLog 2012-07-13 13:47:01 UTC (rev 122571)
+++ trunk/Source/WebCore/ChangeLog 2012-07-13 13:53:29 UTC (rev 122572)
@@ -1,3 +1,15 @@
+2012-07-13 Olivier Blin <[email protected]>
+
+ Fix checking for optional DeviceOrientationEvent.absolute in JSC bindings
+ https://bugs.webkit.org/show_bug.cgi?id=91225
+
+ Reviewed by Steve Block.
+
+ This issue comes from r105036
+
+ * bindings/js/JSDeviceOrientationEventCustom.cpp:
+ (WebCore::JSDeviceOrientationEvent::initDeviceOrientationEvent):
+
2012-07-13 Andrei Bucur <[email protected]>
[CSS Regions] Fix build for bug 89000
https://bugs.webkit.org/show_bug.cgi?id=91215
Modified: trunk/Source/WebCore/bindings/js/JSDeviceOrientationEventCustom.cpp (122571 => 122572)
--- trunk/Source/WebCore/bindings/js/JSDeviceOrientationEventCustom.cpp 2012-07-13 13:47:01 UTC (rev 122571)
+++ trunk/Source/WebCore/bindings/js/JSDeviceOrientationEventCustom.cpp 2012-07-13 13:53:29 UTC (rev 122572)
@@ -81,7 +81,7 @@
double beta = exec->argument(4).toNumber(exec);
bool gammaProvided = !exec->argument(5).isUndefinedOrNull();
double gamma = exec->argument(5).toNumber(exec);
- bool absoluteProvided = !exec->argument(5).isUndefinedOrNull();
+ bool absoluteProvided = !exec->argument(6).isUndefinedOrNull();
bool absolute = exec->argument(6).toBoolean();
RefPtr<DeviceOrientationData> orientation = DeviceOrientationData::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absoluteProvided, absolute);
DeviceOrientationEvent* imp = static_cast<DeviceOrientationEvent*>(impl());
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes