Changeset 125624 in webkit
- Timestamp:
- Aug 14, 2012 5:10:36 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r125617 r125624 1 2012-08-14 Kihong Kwon <kihong.kwon@samsung.com> 2 3 Clear pattern to prevent timing problem between cancelVibration and vibrate 4 https://bugs.webkit.org/show_bug.cgi?id=93957 5 6 Reviewed by Kentaro Hara. 7 8 There is a timing issue in the cancelVibration. 9 Since vibrate works based on timer, cancelVibration might be called 10 eariler than vibrate when cancelVibration is called just after vibrate call. 11 It can be prevented from clearing m_pattern in the cancelVibration. 12 13 * Modules/vibration/Vibration.cpp: 14 (WebCore::Vibration::cancelVibration): 15 1 16 2012-08-14 Alexandru Chiculita <achicu@adobe.com> 2 17 -
trunk/Source/WebCore/Modules/vibration/Vibration.cpp
r108958 r125624 74 74 void Vibration::cancelVibration() 75 75 { 76 m_pattern.clear(); 76 77 if (m_isVibrating) { 77 78 m_vibrationClient->cancelVibration();
Note: See TracChangeset
for help on using the changeset viewer.