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

Unified Diff: third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp

Issue 2830603003: Worklet: Move WorkletScriptLoader from MainThreadWorklet to MainThreadWorkletGlobalScope (Closed)
Patch Set: const auto& 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/modules/csspaint/PaintWorklet.cpp
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp b/third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp
index 56cb7106e2bf0529d3f1d8d4b5564e199da0d5f0..f96c9f24d282a1a4ef74f406886bb6facdf890b9 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp
@@ -23,7 +23,8 @@ PaintWorklet::PaintWorklet(LocalFrame* frame)
frame->GetDocument()->Url(),
frame->GetDocument()->UserAgent(),
frame->GetDocument()->GetSecurityOrigin(),
- ToIsolate(frame->GetDocument()))) {}
+ ToIsolate(frame->GetDocument()),
+ this)) {}
PaintWorklet::~PaintWorklet() {}

Powered by Google App Engine
This is Rietveld 408576698