| 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..fc3dc643f448e28365f87a20ecb2eaaad7d6073c 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(new 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) {
|
|
|