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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 1832773002: Move CompositorPendingAnimations to Oilpan's heap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 88e183f352f75dd9719e557e5ba4009468cf0d44..b8c2865e2ed49791223acdb992c35b55ac94c368 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -971,7 +971,7 @@ public:
AnimationClock& animationClock();
AnimationTimeline& timeline() const { return *m_timeline; }
- CompositorPendingAnimations& compositorPendingAnimations() { return m_compositorPendingAnimations; }
+ CompositorPendingAnimations& compositorPendingAnimations() { return *m_compositorPendingAnimations; }
void addToTopLayer(Element*, const Element* before = nullptr);
void removeFromTopLayer(Element*);
@@ -1372,7 +1372,7 @@ private:
LocaleIdentifierToLocaleMap m_localeCache;
PersistentWillBeMember<AnimationTimeline> m_timeline;
- CompositorPendingAnimations m_compositorPendingAnimations;
+ PersistentWillBeMember<CompositorPendingAnimations> m_compositorPendingAnimations;
RefPtrWillBeMember<Document> m_templateDocument;
// With Oilpan the templateDocument and the templateDocumentHost

Powered by Google App Engine
This is Rietveld 408576698