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

Unified Diff: Source/core/dom/Document.cpp

Issue 1303153005: Introduce WebTaskRunner Patch 3/5 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index a6c48fa5c5e862f2f675fc9f0fa7e829771ab7e2..6d40745ea39357c8cc3bc8ecc3180b2747d013e3 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -2962,7 +2962,7 @@ void Document::didRemoveAllPendingStylesheet()
void Document::didLoadAllScriptBlockingResources()
{
- Platform::current()->currentThread()->scheduler()->postLoadingTask(
+ Platform::current()->currentThread()->scheduler()->loadingTaskRunner()->postTask(
FROM_HERE, m_executeScriptsWaitingForResourcesTask.cancelAndCreate());
if (frame())

Powered by Google App Engine
This is Rietveld 408576698