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

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

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.h
diff --git a/third_party/WebKit/Source/web/CompositorMutatorImpl.h b/third_party/WebKit/Source/web/CompositorMutatorImpl.h
index a5281b6caba60853ee152a8e29d8c97071207f01..5a06b574813a9fc7452aeb7abce84c9a56a73e84 100644
--- a/third_party/WebKit/Source/web/CompositorMutatorImpl.h
+++ b/third_party/WebKit/Source/web/CompositorMutatorImpl.h
@@ -31,16 +31,11 @@ public:
static std::unique_ptr<CompositorMutatorClient> createClient();
static CompositorMutatorImpl* create();
- DEFINE_INLINE_TRACE()
- {
- CompositorMutator::trace(visitor);
- visitor->trace(m_proxyClients);
- }
-
// CompositorMutator implementation.
bool mutate(double monotonicTimeNow, CompositorMutableStateProvider*) override;
void registerProxyClient(CompositorProxyClientImpl*);
+ void unregisterProxyClient(CompositorProxyClientImpl*);
void setNeedsMutate();
@@ -50,7 +45,7 @@ public:
private:
CompositorMutatorImpl();
- using ProxyClients = HeapHashSet<WeakMember<CompositorProxyClientImpl>>;
+ using ProxyClients = HashSet<CrossThreadPersistent<CompositorProxyClientImpl>>;
ProxyClients m_proxyClients;
std::unique_ptr<CustomCompositorAnimationManager> m_animationManager;

Powered by Google App Engine
This is Rietveld 408576698