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

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp

Issue 1362973004: Rename FROM_HERE to BLINK_FROM_HERE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 2 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: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp
index f3d619673fd4845ec63c13e1302507978faad4de..d876b8487c0be8dc2714e6a7dba09c730ff361f2 100644
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp
@@ -90,7 +90,7 @@ void XMLHttpRequestProgressEventThrottle::dispatchProgressEvent(const AtomicStri
m_deferred->set(lengthComputable, loaded, total);
} else {
m_target->dispatchEvent(XMLHttpRequestProgressEvent::create(type, lengthComputable, loaded, total));
- startOneShot(minimumProgressEventDispatchingIntervalInSeconds, FROM_HERE);
+ startOneShot(minimumProgressEventDispatchingIntervalInSeconds, BLINK_FROM_HERE);
}
}
@@ -136,7 +136,7 @@ void XMLHttpRequestProgressEventThrottle::fired()
dispatchDeferredEvent();
// Watch if another "progress" ProgressEvent arrives in the next 50ms.
- startOneShot(minimumProgressEventDispatchingIntervalInSeconds, FROM_HERE);
+ startOneShot(minimumProgressEventDispatchingIntervalInSeconds, BLINK_FROM_HERE);
}
void XMLHttpRequestProgressEventThrottle::suspend()
@@ -152,7 +152,7 @@ void XMLHttpRequestProgressEventThrottle::resume()
// Do not dispatch events inline here, since ExecutionContext is iterating
// over the list of active DOM objects to resume them, and any activated JS
// event-handler could insert new active DOM objects to the list.
- startOneShot(0, FROM_HERE);
+ startOneShot(0, BLINK_FROM_HERE);
}
DEFINE_TRACE(XMLHttpRequestProgressEventThrottle)

Powered by Google App Engine
This is Rietveld 408576698