| Index: third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThreadTest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThreadTest.cpp b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThreadTest.cpp
|
| index 551005152cb1f4df5feb938782ca4236a1c40ae8..c3eed7ee469fa75b80962960a3a8e7d2d6b1e46f 100644
|
| --- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThreadTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThreadTest.cpp
|
| @@ -85,6 +85,7 @@ class AnimationWorkletTestPlatform : public TestingPlatformSupport {
|
| class AnimationWorkletThreadTest : public ::testing::Test {
|
| public:
|
| void SetUp() override {
|
| + m_testPlatform.reset(new AnimationWorkletTestPlatform);
|
| AnimationWorkletThread::createSharedBackingThreadForTest();
|
| m_reportingProxy = TestAnimationWorkletReportingProxy::create();
|
| m_securityOrigin =
|
| @@ -128,7 +129,7 @@ class AnimationWorkletThreadTest : public ::testing::Test {
|
|
|
| RefPtr<SecurityOrigin> m_securityOrigin;
|
| std::unique_ptr<WorkerReportingProxy> m_reportingProxy;
|
| - AnimationWorkletTestPlatform m_testPlatform;
|
| + ScopedTestingPlatformSupport<AnimationWorkletTestPlatform> m_testPlatform;
|
| };
|
|
|
| TEST_F(AnimationWorkletThreadTest, Basic) {
|
|
|