Changeset 127613 in webkit


Ignore:
Timestamp:
Sep 5, 2012 11:16:58 AM (12 years ago)
Author:
mifenton@rim.com
Message:

[BlackBerry] PlatformKeyboardEvent::getCurrentModifierState should initialize values.
https://bugs.webkit.org/show_bug.cgi?id=95773

Reviewed by Rob Buis.

Properly initialize the passed variables even
though we haven't implemented the modifier state
to ensure the values are deterministic.

  • platform/blackberry/PlatformKeyboardEventBlackBerry.cpp:

(WebCore::PlatformKeyboardEvent::getCurrentModifierState):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r127612 r127613  
     12012-09-05  Mike Fenton  <mifenton@rim.com>
     2
     3        [BlackBerry] PlatformKeyboardEvent::getCurrentModifierState should initialize values.
     4        https://bugs.webkit.org/show_bug.cgi?id=95773
     5
     6        Reviewed by Rob Buis.
     7
     8        Properly initialize the passed variables even
     9        though we haven't implemented the modifier state
     10        to ensure the values are deterministic.
     11
     12        * platform/blackberry/PlatformKeyboardEventBlackBerry.cpp:
     13        (WebCore::PlatformKeyboardEvent::getCurrentModifierState):
     14
    1152012-09-05  Tommy Widenflycht  <tommyw@google.com>
    216
  • trunk/Source/WebCore/platform/blackberry/PlatformKeyboardEventBlackBerry.cpp

    r112789 r127613  
    480480}
    481481
    482 void PlatformKeyboardEvent::getCurrentModifierState(bool&, bool&, bool&, bool&)
     482void PlatformKeyboardEvent::getCurrentModifierState(bool& shiftKey, bool& ctrlKey, bool& altKey, bool& metaKey)
    483483{
    484484    notImplemented();
     485    shiftKey = false;
     486    ctrlKey = false;
     487    altKey = false;
     488    metaKey = false;
    485489}
    486490
Note: See TracChangeset for help on using the changeset viewer.