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

Unified Diff: Source/core/xml/XMLHttpRequestProgressEventThrottle.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/core/xml/XMLHttpRequestProgressEventThrottle.cpp
diff --git a/Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp b/Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp
index 73b01f1e1d6d1f928b6da3801add5e3c782719de..d651dc5485d8a3875b81bf707f1ca42adc56c8e9 100644
--- a/Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp
+++ b/Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp
@@ -65,7 +65,7 @@ void XMLHttpRequestProgressEventThrottle::dispatchProgressEvent(bool lengthCompu
ASSERT(!m_total);
dispatchEvent(XMLHttpRequestProgressEvent::create(EventTypeNames::progress, lengthComputable, loaded, total));
- startRepeating(minimumProgressEventDispatchingIntervalInSeconds);
+ startRepeating(minimumProgressEventDispatchingIntervalInSeconds, FROM_HERE);
return;
}
@@ -213,7 +213,7 @@ void XMLHttpRequestProgressEventThrottle::resume()
// the list of active DOM objects to resume them, and any activated JS event-handler
// could insert new active DOM objects to the list.
// m_deferEvents is kept true until all deferred events have been dispatched.
- m_dispatchDeferredEventsTimer.startOneShot(0);
+ m_dispatchDeferredEventsTimer.startOneShot(0, FROM_HERE);
}
} // namespace WebCore
« no previous file with comments | « Source/core/testing/MockPagePopupDriver.cpp ('k') | Source/modules/device_orientation/DeviceSensorEventController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698