| 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..4e6167457545c6c22ba018e0f5e2fef6250983eb 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(new MockPlatform);
|
|
|
| IdleDeadline* deadline =
|
| IdleDeadline::create(1.25, IdleDeadline::CallbackType::CalledWhenIdle);
|
|
|