Index: third_party/WebKit/Source/core/dom/IdleDeadlineTest.cpp |
diff --git a/third_party/WebKit/Source/core/dom/IdleDeadlineTest.cpp b/third_party/WebKit/Source/core/dom/IdleDeadlineTest.cpp |
index 068150adce9fb62298c6ff20692c58122d00558f..6d6e8af35b080ca4a5a77d22ae6f3bdfed8cb8c5 100644 |
--- a/third_party/WebKit/Source/core/dom/IdleDeadlineTest.cpp |
+++ b/third_party/WebKit/Source/core/dom/IdleDeadlineTest.cpp |
@@ -75,7 +75,7 @@ TEST_F(IdleDeadlineTest, deadlineInPast) { |
} |
TEST_F(IdleDeadlineTest, yieldForHighPriorityWork) { |
- MockPlatform platform; |
+ ScopedTestingPlatformSupport<MockPlatform> platform; |
IdleDeadline* deadline = |
IdleDeadline::create(1.25, IdleDeadline::CallbackType::CalledWhenIdle); |