| Index: third_party/WebKit/Source/core/workers/MainThreadWorkletTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/MainThreadWorkletTest.cpp b/third_party/WebKit/Source/core/workers/MainThreadWorkletTest.cpp
|
| index 68e7a34fd90bc97ef0608e75400adc7826403584..efead11563ac4387f8de08427f4ccdd9f0f10886 100644
|
| --- a/third_party/WebKit/Source/core/workers/MainThreadWorkletTest.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/MainThreadWorkletTest.cpp
|
| @@ -11,19 +11,6 @@
|
|
|
| namespace blink {
|
|
|
| -namespace {
|
| -
|
| -class WorkletObjectProxyForTest final
|
| - : public GarbageCollectedFinalized<WorkletObjectProxyForTest>,
|
| - public WorkletObjectProxy {
|
| - USING_GARBAGE_COLLECTED_MIXIN(WorkletObjectProxyForTest);
|
| -
|
| - public:
|
| - void DidFetchAndInvokeScript(int32_t request_id, bool success) {}
|
| -};
|
| -
|
| -} // namespace
|
| -
|
| class MainThreadWorkletTest : public ::testing::Test {
|
| public:
|
| void SetUp() override {
|
| @@ -32,8 +19,7 @@ class MainThreadWorkletTest : public ::testing::Test {
|
| security_origin_ = SecurityOrigin::Create(url);
|
| global_scope_ = new MainThreadWorkletGlobalScope(
|
| &page_->GetFrame(), url, "fake user agent", security_origin_.Get(),
|
| - ToIsolate(page_->GetFrame().GetDocument()),
|
| - new WorkletObjectProxyForTest);
|
| + ToIsolate(page_->GetFrame().GetDocument()));
|
| }
|
|
|
| void TearDown() override { global_scope_->TerminateWorkletGlobalScope(); }
|
|
|