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

Unified Diff: Source/core/fetch/Resource.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/core/fetch/MemoryCache.cpp ('k') | Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/Resource.cpp
diff --git a/Source/core/fetch/Resource.cpp b/Source/core/fetch/Resource.cpp
index 3f9fe6402f1a2fd61429a38a6d8350eccad88f40..ca3d83cec0f5488bfce3ec65fc5c646ed5b0ada6 100644
--- a/Source/core/fetch/Resource.cpp
+++ b/Source/core/fetch/Resource.cpp
@@ -519,7 +519,7 @@ void Resource::allClientsRemoved()
if (m_type == MainResource || m_type == Raw)
cancelTimerFired(&m_cancelTimer);
else if (!m_cancelTimer.isActive())
- m_cancelTimer.startOneShot(0);
+ m_cancelTimer.startOneShot(0, FROM_HERE);
}
void Resource::cancelTimerFired(Timer<Resource>* timer)
@@ -876,7 +876,7 @@ Resource::ResourceCallback::ResourceCallback()
void Resource::ResourceCallback::schedule(Resource* resource)
{
if (!m_callbackTimer.isActive())
- m_callbackTimer.startOneShot(0);
+ m_callbackTimer.startOneShot(0, FROM_HERE);
m_resourcesWithPendingClients.add(resource);
}
« no previous file with comments | « Source/core/fetch/MemoryCache.cpp ('k') | Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698