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

Unified Diff: Source/modules/device_orientation/DeviceSensorEventController.cpp

Issue 189833009: Trace where timers were scheduled in Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 9 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: Source/modules/device_orientation/DeviceSensorEventController.cpp
diff --git a/Source/modules/device_orientation/DeviceSensorEventController.cpp b/Source/modules/device_orientation/DeviceSensorEventController.cpp
index fda95d867bf38b27b5384e0d07a374741882f077..060e00a88d0b1ee2d77c558e0354fc282cc58320 100644
--- a/Source/modules/device_orientation/DeviceSensorEventController.cpp
+++ b/Source/modules/device_orientation/DeviceSensorEventController.cpp
@@ -79,7 +79,7 @@ void DeviceSensorEventController::startUpdating()
if (hasLastData() && !m_timer.isActive()) {
// Make sure to fire the device motion data as soon as possible.
- m_timer.startOneShot(0);
+ m_timer.startOneShot(0, FROM_HERE);
}
registerWithDispatcher();
« no previous file with comments | « Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp ('k') | Source/modules/encryptedmedia/MediaKeySession.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698