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

Unified Diff: third_party/WebKit/Source/core/dom/CompositorProxy.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/core/dom/CompositorProxy.h
diff --git a/third_party/WebKit/Source/core/dom/CompositorProxy.h b/third_party/WebKit/Source/core/dom/CompositorProxy.h
index cf69322d831aaf858bbe04f8c481da5bab500c0f..516bcc9a0c4dc6364feab3353bfdb5282c1b9a5f 100644
--- a/third_party/WebKit/Source/core/dom/CompositorProxy.h
+++ b/third_party/WebKit/Source/core/dom/CompositorProxy.h
@@ -27,10 +27,7 @@ public:
static CompositorProxy* create(ExecutionContext*, uint64_t element, uint32_t compositorMutableProperties);
virtual ~CompositorProxy();
- DEFINE_INLINE_TRACE()
- {
- visitor->trace(m_client);
- }
+ DEFINE_INLINE_TRACE() { }
uint64_t elementId() const { return m_elementId; }
uint32_t compositorMutableProperties() const { return m_compositorMutableProperties; }
@@ -65,7 +62,7 @@ private:
const uint32_t m_compositorMutableProperties = 0;
bool m_connected = true;
- Member<CompositorProxyClient> m_client;
+ CrossThreadPersistent<CompositorProxyClient> m_client;
std::unique_ptr<CompositorMutableState> m_state;
};

Powered by Google App Engine
This is Rietveld 408576698