Index: third_party/WebKit/Source/web/CompositorMutatorImpl.cpp |
diff --git a/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp b/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp |
index 79709e134294ab2c1c17c51d879023e2fd222fdb..b1e3bb7d55e49c49738cef3ff5052e8bccd86bc2 100644 |
--- a/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp |
+++ b/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp |
@@ -41,7 +41,7 @@ std::unique_ptr<CompositorMutatorClient> CompositorMutatorImpl::createClient() |
std::unique_ptr<CompositorMutatorClient> mutatorClient; |
WaitableEvent doneEvent; |
if (WebThread* compositorThread = Platform::current()->compositorThread()) { |
- compositorThread->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&createCompositorMutatorClient, AllowCrossThreadAccess(&mutatorClient), AllowCrossThreadAccess(&doneEvent))); |
+ compositorThread->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&createCompositorMutatorClient, crossThreadUnretained(&mutatorClient), crossThreadUnretained(&doneEvent))); |
} else { |
createCompositorMutatorClient(&mutatorClient, &doneEvent); |
} |