Title: [121718] trunk/Source/WebKit/blackberry
Revision
121718
Author
[email protected]
Date
2012-07-02 18:28:57 -0700 (Mon, 02 Jul 2012)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebKit/blackberry/ChangeLog (121717 => 121718)


--- trunk/Source/WebKit/blackberry/ChangeLog	2012-07-03 01:27:16 UTC (rev 121717)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2012-07-03 01:28:57 UTC (rev 121718)
@@ -1,3 +1,15 @@
+2012-07-02  George Staikos  <[email protected]>
+
+        [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):
+
 2012-07-02  Benjamin Poulain  <[email protected]>
 
         Do not do any logging initialization when logging is disabled

Modified: trunk/Source/WebKit/blackberry/WebCoreSupport/VibrationClientBlackBerry.cpp (121717 => 121718)


--- trunk/Source/WebKit/blackberry/WebCoreSupport/VibrationClientBlackBerry.cpp	2012-07-03 01:27:16 UTC (rev 121717)
+++ trunk/Source/WebKit/blackberry/WebCoreSupport/VibrationClientBlackBerry.cpp	2012-07-03 01:28:57 UTC (rev 121718)
@@ -36,10 +36,12 @@
 
 void VibrationClientBlackBerry::cancelVibration()
 {
+    BlackBerryPlatformVibrate::vibrate(0, 0.);
 }
 
 void VibrationClientBlackBerry::vibrationDestroyed()
 {
+    cancelVibration();
     delete this;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to