Index: third_party/WebKit/Source/modules/vibration/VibrationController.cpp |
diff --git a/third_party/WebKit/Source/modules/vibration/VibrationController.cpp b/third_party/WebKit/Source/modules/vibration/VibrationController.cpp |
index f6e5cb999ddd312a78962a30a7ca10fb91c918d8..8754e073a74ebff8910dea0a2df0c83ffd516224 100644 |
--- a/third_party/WebKit/Source/modules/vibration/VibrationController.cpp |
+++ b/third_party/WebKit/Source/modules/vibration/VibrationController.cpp |
@@ -146,12 +146,12 @@ void VibrationController::didVibrate() { |
// Use the current vibration entry of the pattern as the initial interval. |
unsigned interval = m_pattern[0]; |
- m_pattern.remove(0); |
+ m_pattern.erase(0); |
// If there is another entry it is for a pause. |
if (!m_pattern.isEmpty()) { |
interval += m_pattern[0]; |
- m_pattern.remove(0); |
+ m_pattern.erase(0); |
} |
m_timerDoVibrate.startOneShot(interval / 1000.0, BLINK_FROM_HERE); |