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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.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/loader/DocumentThreadableLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
index 49f5f54fbbe7df339a48ade127628ebbee50c4a3..adb2523a114ca4adb00eedd0998559d3eaa2e2df 100644
--- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
@@ -69,7 +69,7 @@ private:
public:
explicit EmptyDataReader(WebDataConsumerHandle::Client* client) : m_factory(this)
{
- Platform::current()->currentThread()->taskRunner()->postTask(FROM_HERE, new Task(bind(&EmptyDataReader::notify, m_factory.createWeakPtr(), client)));
+ Platform::current()->currentThread()->taskRunner()->postTask(BLINK_FROM_HERE, new Task(bind(&EmptyDataReader::notify, m_factory.createWeakPtr(), client)));
}
private:
Result read(void*, size_t, WebDataConsumerHandle::Flags, size_t *readSize) override
@@ -296,7 +296,7 @@ void DocumentThreadableLoader::overrideTimeout(unsigned long timeoutMilliseconds
double elapsedTime = monotonicallyIncreasingTime() - m_requestStartedSeconds;
double nextFire = timeoutMilliseconds / 1000.0;
double resolvedTime = std::max(nextFire - elapsedTime, 0.0);
- m_timeoutTimer.startOneShot(resolvedTime, FROM_HERE);
+ m_timeoutTimer.startOneShot(resolvedTime, BLINK_FROM_HERE);
}
}
@@ -775,7 +775,7 @@ void DocumentThreadableLoader::loadRequest(const ResourceRequest& request, Resou
resourceLoaderOptions.dataBufferingPolicy = BufferData;
if (m_options.timeoutMilliseconds > 0)
- m_timeoutTimer.startOneShot(m_options.timeoutMilliseconds / 1000.0, FROM_HERE);
+ m_timeoutTimer.startOneShot(m_options.timeoutMilliseconds / 1000.0, BLINK_FROM_HERE);
FetchRequest newRequest(request, m_options.initiator, resourceLoaderOptions);
if (m_options.crossOriginRequestPolicy == AllowCrossOriginRequests)
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutText.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698