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

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

Issue 1303153005: Introduce WebTaskRunner Patch 3/5 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add missing #include 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
« no previous file with comments | « Source/bindings/core/v8/ScriptStreamerThread.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/CompositorProxy.cpp
diff --git a/Source/core/dom/CompositorProxy.cpp b/Source/core/dom/CompositorProxy.cpp
index e0807eb9715c2a14895654781747b096910287d7..4084c44447e5de0e4a4a4a97c5181838b1fcd01d 100644
--- a/Source/core/dom/CompositorProxy.cpp
+++ b/Source/core/dom/CompositorProxy.cpp
@@ -147,7 +147,7 @@ CompositorProxy::CompositorProxy(uint64_t elementId, uint32_t attributeFlags)
{
ASSERT(isControlThread());
ASSERT(sanityCheckAttributeFlags(m_bitfieldsSupported));
- Platform::current()->mainThread()->postTask(FROM_HERE, threadSafeBind(&incrementProxyCountForElement, m_elementId));
+ Platform::current()->mainThread()->taskRunner()->postTask(FROM_HERE, threadSafeBind(&incrementProxyCountForElement, m_elementId));
}
CompositorProxy::~CompositorProxy()
@@ -252,7 +252,7 @@ void CompositorProxy::disconnect()
if (isMainThread())
decrementCountForElement(m_elementId);
else
- Platform::current()->mainThread()->postTask(FROM_HERE, threadSafeBind(&decrementCountForElement, m_elementId));
+ Platform::current()->mainThread()->taskRunner()->postTask(FROM_HERE, threadSafeBind(&decrementCountForElement, m_elementId));
}
} // namespace blink
« no previous file with comments | « Source/bindings/core/v8/ScriptStreamerThread.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698