| Index: third_party/WebKit/Source/core/dom/CompositorProxy.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/CompositorProxy.cpp b/third_party/WebKit/Source/core/dom/CompositorProxy.cpp
|
| index a208f8f4c74a6fa5268f4cecb1c89af991ef8ac5..4f7d3e51337d9f3a4dcad8e026b55bff18f0f43f 100644
|
| --- a/third_party/WebKit/Source/core/dom/CompositorProxy.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/CompositorProxy.cpp
|
| @@ -11,7 +11,7 @@
|
| #include "core/dom/ExecutionContext.h"
|
| #include "core/workers/WorkerClients.h"
|
| #include "core/workers/WorkerGlobalScope.h"
|
| -#include "platform/ThreadSafeFunctional.h"
|
| +#include "platform/CrossThreadFunctional.h"
|
| #include "platform/graphics/CompositorMutableProperties.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebTraceLocation.h"
|
| @@ -139,7 +139,7 @@ CompositorProxy::CompositorProxy(uint64_t elementId, uint32_t compositorMutableP
|
| if (isMainThread()) {
|
| incrementCompositorProxiedPropertiesForElement(m_elementId, m_compositorMutableProperties);
|
| } else {
|
| - Platform::current()->mainThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&incrementCompositorProxiedPropertiesForElement, m_elementId, m_compositorMutableProperties));
|
| + Platform::current()->mainThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, crossThreadBind(&incrementCompositorProxiedPropertiesForElement, m_elementId, m_compositorMutableProperties));
|
| }
|
| }
|
|
|
| @@ -276,7 +276,7 @@ void CompositorProxy::disconnectInternal()
|
| if (isMainThread()) {
|
| decrementCompositorProxiedPropertiesForElement(m_elementId, m_compositorMutableProperties);
|
| } else {
|
| - Platform::current()->mainThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&decrementCompositorProxiedPropertiesForElement, m_elementId, m_compositorMutableProperties));
|
| + Platform::current()->mainThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, crossThreadBind(&decrementCompositorProxiedPropertiesForElement, m_elementId, m_compositorMutableProperties));
|
| }
|
| }
|
|
|
|
|