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

Unified Diff: third_party/WebKit/Source/web/CompositorMutatorImpl.cpp

Issue 2204183002: Prepare CompositorWorker for per thread heap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 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: 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 eddb7cb5972855c792cb2a2e48e854c5f32239ae..fb93f6947c88644d6b2ece1cb9b20e85179badb8 100644
--- a/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp
+++ b/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp
@@ -79,6 +79,11 @@ void CompositorMutatorImpl::registerProxyClient(CompositorProxyClientImpl* clien
setNeedsMutate();
}
+void CompositorMutatorImpl::unregisterProxyClient(CompositorProxyClientImpl* client)
+{
+ m_proxyClients.remove(client);
haraken 2016/09/12 11:45:09 Add DCHECK(m_proxyClients.contains(client)).
keishi 2016/09/13 03:12:43 Done.
+}
+
void CompositorMutatorImpl::setNeedsMutate()
{
TRACE_EVENT0("compositor-worker", "CompositorMutatorImpl::setNeedsMutate");

Powered by Google App Engine
This is Rietveld 408576698