Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(838)

Unified Diff: third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp

Issue 1362973004: Rename FROM_HERE to BLINK_FROM_HERE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
diff --git a/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp b/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
index c8315fbf019086b851ac919b81ff90116437e71c..2c4b54e16325e03706f42f4e6da27a5f2ec9662a 100644
--- a/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
+++ b/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
@@ -104,7 +104,7 @@ bool NavigatorVibration::vibrate(const VibrationPattern& pattern)
return true;
}
- m_timerStart.startOneShot(0, FROM_HERE);
+ m_timerStart.startOneShot(0, BLINK_FROM_HERE);
m_isVibrating = true;
return true;
}
@@ -126,7 +126,7 @@ void NavigatorVibration::timerStartFired(Timer<NavigatorVibration>* timer)
if (m_pattern.size()) {
m_isVibrating = true;
Platform::current()->vibrate(m_pattern[0]);
- m_timerStop.startOneShot(m_pattern[0] / 1000.0, FROM_HERE);
+ m_timerStop.startOneShot(m_pattern[0] / 1000.0, BLINK_FROM_HERE);
m_pattern.remove(0);
}
}
@@ -139,7 +139,7 @@ void NavigatorVibration::timerStopFired(Timer<NavigatorVibration>* timer)
m_isVibrating = false;
if (m_pattern.size()) {
- m_timerStart.startOneShot(m_pattern[0] / 1000.0, FROM_HERE);
+ m_timerStart.startOneShot(m_pattern[0] / 1000.0, BLINK_FROM_HERE);
m_pattern.remove(0);
}
}

Powered by Google App Engine
This is Rietveld 408576698