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

Unified Diff: Source/modules/geolocation/testing/GeolocationClientMock.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
« no previous file with comments | « Source/modules/geolocation/Geolocation.cpp ('k') | Source/modules/mediastream/MediaStream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/geolocation/testing/GeolocationClientMock.cpp
diff --git a/Source/modules/geolocation/testing/GeolocationClientMock.cpp b/Source/modules/geolocation/testing/GeolocationClientMock.cpp
index fb02ccbb9d207693255dc176a4784cd2e314282e..5d75fc99276a6bda404392d0c8afbad052d498f7 100644
--- a/Source/modules/geolocation/testing/GeolocationClientMock.cpp
+++ b/Source/modules/geolocation/testing/GeolocationClientMock.cpp
@@ -104,7 +104,7 @@ void GeolocationClientMock::asyncUpdatePermission()
{
ASSERT(m_permissionState != PermissionStateUnset);
if (!m_permissionTimer.isActive())
- m_permissionTimer.startOneShot(0);
+ m_permissionTimer.startOneShot(0, FROM_HERE);
}
void GeolocationClientMock::permissionTimerFired(Timer<GeolocationClientMock>* timer)
@@ -157,7 +157,7 @@ void GeolocationClientMock::asyncUpdateController()
{
ASSERT(m_controller);
if (m_isActive && !m_controllerTimer.isActive())
- m_controllerTimer.startOneShot(0);
+ m_controllerTimer.startOneShot(0, FROM_HERE);
}
void GeolocationClientMock::controllerTimerFired(Timer<GeolocationClientMock>* timer)
« no previous file with comments | « Source/modules/geolocation/Geolocation.cpp ('k') | Source/modules/mediastream/MediaStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698