Index: third_party/WebKit/Source/core/layout/LayoutProgress.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutProgress.h b/third_party/WebKit/Source/core/layout/LayoutProgress.h |
index c8d8abf48dbc3ff22cb864e72e76a7afcf12740c..1f14d0f1fc53d7edf85cae71f94c6eef977253c4 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutProgress.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutProgress.h |
@@ -46,6 +46,8 @@ public: |
protected: |
void willBeDestroyed() override; |
+ bool isAnimationTimerActive() const; |
+ |
private: |
bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectProgress || LayoutBlockFlow::isOfType(type); } |
@@ -58,6 +60,8 @@ private: |
double m_animationDuration; |
bool m_animating; |
Timer<LayoutProgress> m_animationTimer; |
+ |
+ friend class LayoutProgressTest; |
}; |
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutProgress, isProgress()); |