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

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

Issue 2774223002: CompositorWorkerProxyClientImpl to CompositorProxy cross thread reference is using WeakMember (Closed)
Patch Set: fix Created 3 years, 9 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/AnimationWorkletProxyClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/AnimationWorkletProxyClientImpl.cpp b/third_party/WebKit/Source/web/AnimationWorkletProxyClientImpl.cpp
index c44def54389b1f4857c1477df9a7f0f99a33a54b..fef09b450871e65bfd57c1d045be707307f45eb2 100644
--- a/third_party/WebKit/Source/web/AnimationWorkletProxyClientImpl.cpp
+++ b/third_party/WebKit/Source/web/AnimationWorkletProxyClientImpl.cpp
@@ -17,7 +17,6 @@ AnimationWorkletProxyClientImpl::AnimationWorkletProxyClientImpl(
}
DEFINE_TRACE(AnimationWorkletProxyClientImpl) {
- visitor->trace(m_proxies);
AnimationWorkletProxyClient::trace(visitor);
CompositorAnimator::trace(visitor);
}
@@ -32,16 +31,4 @@ bool AnimationWorkletProxyClientImpl::mutate(
return true;
}
-void AnimationWorkletProxyClientImpl::registerCompositorProxy(
- CompositorProxy* proxy) {
- DCHECK(!isMainThread());
- m_proxies.insert(proxy);
-}
-
-void AnimationWorkletProxyClientImpl::unregisterCompositorProxy(
- CompositorProxy* proxy) {
- DCHECK(!isMainThread());
- m_proxies.erase(proxy);
-}
-
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/AnimationWorkletProxyClientImpl.h ('k') | third_party/WebKit/Source/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698