Index: third_party/WebKit/Source/core/animation/AnimationClock.h |
diff --git a/third_party/WebKit/Source/core/animation/AnimationClock.h b/third_party/WebKit/Source/core/animation/AnimationClock.h |
index f668463a219c9c19ff363fd1dc7a3dfcc4ba3107..96477f567f227a7697fc1df481acd78eb1ad97e8 100644 |
--- a/third_party/WebKit/Source/core/animation/AnimationClock.h |
+++ b/third_party/WebKit/Source/core/animation/AnimationClock.h |
@@ -57,6 +57,9 @@ class CORE_EXPORT AnimationClock { |
void updateTime(double time); |
double currentTime(); |
void resetTimeForTesting(double time = 0); |
+ void disableSyntheticTimeForTesting() { |
+ m_monotonicallyIncreasingTime = nullptr; |
+ } |
// notifyTaskStart should be called right before the main message loop starts |
// to run the next task from the message queue. |