| 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 a059c5ad2042f7574a82f27da50cb09b8047746f..cacf0cb989f72d4c59380d5aef84c2d9532eed6b 100644
|
| --- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp
|
| @@ -8,7 +8,7 @@
|
| #include "bindings/core/v8/SourceLocation.h"
|
| #include "bindings/core/v8/V8GCController.h"
|
| #include "bindings/core/v8/WorkerOrWorkletScriptController.h"
|
| -#include "core/dom/CompositorProxyClient.h"
|
| +#include "core/dom/CompositorWorkerProxyClient.h"
|
| #include "core/inspector/ConsoleMessage.h"
|
| #include "core/testing/DummyPageHolder.h"
|
| #include "core/workers/InProcessWorkerObjectProxy.h"
|
| @@ -67,13 +67,13 @@ class TestCompositorWorkerObjectProxy : public InProcessWorkerObjectProxy {
|
| Persistent<ExecutionContext> m_executionContext;
|
| };
|
|
|
| -class TestCompositorProxyClient
|
| - : public GarbageCollected<TestCompositorProxyClient>,
|
| - public CompositorProxyClient {
|
| - USING_GARBAGE_COLLECTED_MIXIN(TestCompositorProxyClient);
|
| +class TestCompositorWorkerProxyClient
|
| + : public GarbageCollected<TestCompositorWorkerProxyClient>,
|
| + public CompositorWorkerProxyClient {
|
| + USING_GARBAGE_COLLECTED_MIXIN(TestCompositorWorkerProxyClient);
|
|
|
| public:
|
| - TestCompositorProxyClient() {}
|
| + TestCompositorWorkerProxyClient() {}
|
|
|
| void dispose() override {}
|
| void setGlobalScope(WorkerGlobalScope*) override {}
|
| @@ -120,7 +120,8 @@ class CompositorWorkerThreadTest : public ::testing::Test {
|
| std::unique_ptr<CompositorWorkerThread> workerThread =
|
| CompositorWorkerThread::create(nullptr, *m_objectProxy, 0);
|
| WorkerClients* clients = WorkerClients::create();
|
| - provideCompositorProxyClientTo(clients, new TestCompositorProxyClient);
|
| + provideCompositorWorkerProxyClientTo(clients,
|
| + new TestCompositorWorkerProxyClient);
|
| workerThread->start(WorkerThreadStartupData::create(
|
| KURL(ParsedURLString, "http://fake.url/"), "fake user agent",
|
| "//fake source code", nullptr, DontPauseWorkerGlobalScopeOnStart,
|
|
|