Changeset 121718 in webkit


Ignore:
Timestamp:
Jul 2, 2012 6:28:57 PM (12 years ago)
Author:
staikos@webkit.org
Message:

[BlackBerry] Implement cancelVibration, and make sure it's canceled on
destruction.
https://bugs.webkit.org/show_bug.cgi?id=90406

Reviewed by Rob Buis.

  • WebCoreSupport/VibrationClientBlackBerry.cpp:

(WebCore::VibrationClientBlackBerry::cancelVibration):
(WebCore::VibrationClientBlackBerry::vibrationDestroyed):

Location:
trunk/Source/WebKit/blackberry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/ChangeLog

    r121707 r121718  
     12012-07-02  George Staikos  <staikos@webkit.org>
     2
     3        [BlackBerry] Implement cancelVibration, and make sure it's canceled on
     4        destruction.
     5        https://bugs.webkit.org/show_bug.cgi?id=90406
     6
     7        Reviewed by Rob Buis.
     8
     9        * WebCoreSupport/VibrationClientBlackBerry.cpp:
     10        (WebCore::VibrationClientBlackBerry::cancelVibration):
     11        (WebCore::VibrationClientBlackBerry::vibrationDestroyed):
     12
    1132012-07-02  Benjamin Poulain  <bpoulain@apple.com>
    214
  • trunk/Source/WebKit/blackberry/WebCoreSupport/VibrationClientBlackBerry.cpp

    r113404 r121718  
    3737void VibrationClientBlackBerry::cancelVibration()
    3838{
     39    BlackBerryPlatformVibrate::vibrate(0, 0.);
    3940}
    4041
    4142void VibrationClientBlackBerry::vibrationDestroyed()
    4243{
     44    cancelVibration();
    4345    delete this;
    4446}
Note: See TracChangeset for help on using the changeset viewer.