Index: third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.h |
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.h b/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.h |
index f6277ad3d608114ecfb5cd39b846055f8cbbb35f..114967af10efd33819dc3a9b180a4c876bd38367 100644 |
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.h |
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.h |
@@ -36,7 +36,8 @@ class PLATFORM_EXPORT CompositorMutatorClient |
private: |
cc::LayerTreeMutatorClient* m_client; |
CompositorMutationsTarget* m_mutationsTarget; |
- Persistent<CompositorMutator> m_mutator; |
+ // Accessed by main and compositor threads. |
+ CrossThreadPersistent<CompositorMutator> m_mutator; |
std::unique_ptr<CompositorMutations> m_mutations; |
}; |