Title: [165882] trunk/Source/WebCore
Revision
165882
Author
commit-qu...@webkit.org
Date
2014-03-19 02:16:47 -0700 (Wed, 19 Mar 2014)

Log Message

[EFL] vibration/cancelVibration-during-pattern-vibrating.html is failing after r165598
https://bugs.webkit.org/show_bug.cgi?id=130333

Patch by Krzysztof Wolanski <k.wolan...@samsung.com> on 2014-03-19
Reviewed by Gyuyoung Kim.

Added setting m_state when calling Vibration::vibrate. It was missing after
refactoring Vibration (r165598).

* Modules/vibration/Vibration.cpp:
(WebCore::Vibration::vibrate):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (165881 => 165882)


--- trunk/Source/WebCore/ChangeLog	2014-03-19 08:53:48 UTC (rev 165881)
+++ trunk/Source/WebCore/ChangeLog	2014-03-19 09:16:47 UTC (rev 165882)
@@ -1,3 +1,16 @@
+2014-03-19  Krzysztof Wolanski  <k.wolan...@samsung.com>
+
+        [EFL] vibration/cancelVibration-during-pattern-vibrating.html is failing after r165598
+        https://bugs.webkit.org/show_bug.cgi?id=130333
+
+        Reviewed by Gyuyoung Kim.
+
+        Added setting m_state when calling Vibration::vibrate. It was missing after
+        refactoring Vibration (r165598).
+
+        * Modules/vibration/Vibration.cpp:
+        (WebCore::Vibration::vibrate):
+
 2014-03-19  Sam Weinig  <s...@webkit.org>
 
         Rewrite WebHTMLConverter::_colorForNode in C++

Modified: trunk/Source/WebCore/Modules/vibration/Vibration.cpp (165881 => 165882)


--- trunk/Source/WebCore/Modules/vibration/Vibration.cpp	2014-03-19 08:53:48 UTC (rev 165881)
+++ trunk/Source/WebCore/Modules/vibration/Vibration.cpp	2014-03-19 09:16:47 UTC (rev 165882)
@@ -82,6 +82,7 @@
     m_pattern = sanitized;
 
     m_timer.startOneShot(0);
+    m_state = State::Waiting;
     return true;
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to