Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: third_party/WebKit/Source/core/workers/MainThreadWorkletTest.cpp

Issue 2839123003: Worklet: Introduce "pending tasks struct" concept defined in the Worklet spec (Closed)
Patch Set: address review comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(); }

Powered by Google App Engine
This is Rietveld 408576698