Changeset 122572 in webkit


Ignore:
Timestamp:
Jul 13, 2012 6:53:29 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Fix checking for optional DeviceOrientationEvent.absolute in JSC bindings
https://bugs.webkit.org/show_bug.cgi?id=91225

Patch by Olivier Blin <Olivier Blin> on 2012-07-13
Reviewed by Steve Block.

This issue comes from r105036

  • bindings/js/JSDeviceOrientationEventCustom.cpp:

(WebCore::JSDeviceOrientationEvent::initDeviceOrientationEvent):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r122569 r122572  
     12012-07-13  Olivier Blin  <olivier.blin@softathome.com>
     2
     3        Fix checking for optional DeviceOrientationEvent.absolute in JSC bindings
     4        https://bugs.webkit.org/show_bug.cgi?id=91225
     5
     6        Reviewed by Steve Block.
     7
     8        This issue comes from r105036
     9
     10        * bindings/js/JSDeviceOrientationEventCustom.cpp:
     11        (WebCore::JSDeviceOrientationEvent::initDeviceOrientationEvent):
     12
    1132012-07-13  Andrei Bucur  <abucur@adobe.com>
    214        [CSS Regions] Fix build for bug 89000
  • trunk/Source/WebCore/bindings/js/JSDeviceOrientationEventCustom.cpp

    r121016 r122572  
    8282    bool gammaProvided = !exec->argument(5).isUndefinedOrNull();
    8383    double gamma = exec->argument(5).toNumber(exec);
    84     bool absoluteProvided = !exec->argument(5).isUndefinedOrNull();
     84    bool absoluteProvided = !exec->argument(6).isUndefinedOrNull();
    8585    bool absolute = exec->argument(6).toBoolean();
    8686    RefPtr<DeviceOrientationData> orientation = DeviceOrientationData::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absoluteProvided, absolute);
Note: See TracChangeset for help on using the changeset viewer.