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

Unified Diff: Source/platform/AsyncMethodRunner.h

Issue 189833009: Trace where timers were scheduled in Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/platform/AsyncMethodRunner.h
diff --git a/Source/platform/AsyncMethodRunner.h b/Source/platform/AsyncMethodRunner.h
index da86ed3ca3d7e8b14faab4d356a4a03d6e7ac8bf..b61b5df5627e2f492890df0a76596d7bfdd4436e 100644
--- a/Source/platform/AsyncMethodRunner.h
+++ b/Source/platform/AsyncMethodRunner.h
@@ -65,7 +65,7 @@ public:
}
if (!m_timer.isActive())
- m_timer.startOneShot(0);
+ m_timer.startOneShot(0, FROM_HERE);
abarth-chromium 2014/03/09 22:19:10 This one isn't very useful :)
}
// If it's scheduled to run the method, cancel it and remember to schedule
@@ -93,7 +93,7 @@ public:
return;
m_runWhenResumed = false;
- m_timer.startOneShot(0);
+ m_timer.startOneShot(0, FROM_HERE);
}
void stop()

Powered by Google App Engine
This is Rietveld 408576698