Chromium Code Reviews| 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; } |
|
sof
2016/03/24 17:36:06
Wait, you need to create this heap object somewher
|
| 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; |
|
sof
2016/03/24 15:02:10
Can we forward declare CompositorPendingAnimations
|
| RefPtrWillBeMember<Document> m_templateDocument; |
| // With Oilpan the templateDocument and the templateDocumentHost |