Index: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp |
diff --git a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp |
index 1747a4f3d50375c3a9688beb22a43fe679c6aada..921fc644c653c58a60e672afe0960b96bd5e0367 100644 |
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp |
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp |
@@ -96,6 +96,7 @@ class CompositorWorkerTestPlatform : public TestingPlatformSupport { |
class CompositorWorkerThreadTest : public ::testing::Test { |
public: |
void SetUp() override { |
+ m_testPlatform.reset(WTF::makeUnique<CompositorWorkerTestPlatform>()); |
CompositorWorkerThread::createSharedBackingThreadForTest(); |
m_objectProxy = TestCompositorWorkerObjectProxy::create(); |
m_securityOrigin = |
@@ -143,7 +144,7 @@ class CompositorWorkerThreadTest : public ::testing::Test { |
RefPtr<SecurityOrigin> m_securityOrigin; |
std::unique_ptr<InProcessWorkerObjectProxy> m_objectProxy; |
- CompositorWorkerTestPlatform m_testPlatform; |
+ ScopedTestingPlatformSupport<CompositorWorkerTestPlatform> m_testPlatform; |
}; |
TEST_F(CompositorWorkerThreadTest, Basic) { |