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 |