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

Unified Diff: Source/modules/screen_orientation/ScreenOrientation.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/screen_orientation/ScreenOrientation.cpp
diff --git a/Source/modules/screen_orientation/ScreenOrientation.cpp b/Source/modules/screen_orientation/ScreenOrientation.cpp
index f84beab60a689323b09338d5c1e0f64e4937cd5d..a5756e76fd0c81b4e325dd37d0a3c0ed532b30a6 100644
--- a/Source/modules/screen_orientation/ScreenOrientation.cpp
+++ b/Source/modules/screen_orientation/ScreenOrientation.cpp
@@ -83,7 +83,7 @@ void ScreenOrientation::lockOrientationAsync(blink::WebScreenOrientations orient
return;
m_lockedOrientations = orientations;
if (!m_orientationLockTimer.isActive())
- m_orientationLockTimer.startOneShot(0);
+ m_orientationLockTimer.startOneShot(0, FROM_HERE);
}
void ScreenOrientation::orientationLockTimerFired(Timer<ScreenOrientation>*)
« no previous file with comments | « Source/modules/mediastream/RTCDataChannel.cpp ('k') | Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698