Index: third_party/WebKit/Source/core/page/PageAnimator.h |
diff --git a/third_party/WebKit/Source/core/page/PageAnimator.h b/third_party/WebKit/Source/core/page/PageAnimator.h |
index d1f547fa4222903f91fe1d40da64b7a5a729fc84..436f473c8290c7a142fd827fbd6f3f7b86d2dee8 100644 |
--- a/third_party/WebKit/Source/core/page/PageAnimator.h |
+++ b/third_party/WebKit/Source/core/page/PageAnimator.h |
@@ -6,6 +6,7 @@ |
#define PageAnimator_h |
#include "core/CoreExport.h" |
+#include "core/animation/AnimationClock.h" |
#include "platform/heap/Handle.h" |
namespace blink { |
@@ -23,6 +24,7 @@ public: |
bool isServicingAnimations() const { return m_servicingAnimations; } |
void updateLayoutAndStyleForPainting(LocalFrame& rootFrame); |
void updateAllLifecyclePhases(LocalFrame& rootFrame); |
+ AnimationClock& clock() { return m_animationClock; } |
private: |
explicit PageAnimator(Page&); |
@@ -30,6 +32,7 @@ private: |
RawPtrWillBeMember<Page> m_page; |
bool m_servicingAnimations; |
bool m_updatingLayoutAndStyleForPainting; |
+ AnimationClock m_animationClock; |
}; |
} |