| Index: third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp
|
| diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp
|
| index 2ee2af678c2f5560816e77693ec9926561cacee5..21429567048d20462b9f344eb34dd719dfe87123 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp
|
| @@ -17,14 +17,14 @@ namespace blink {
|
| // static
|
| PaintWorkletGlobalScope* PaintWorkletGlobalScope::create(LocalFrame* frame, const KURL& url, const String& userAgent, PassRefPtr<SecurityOrigin> securityOrigin, v8::Isolate* isolate)
|
| {
|
| - PaintWorkletGlobalScope* paintWorkletGlobalScope = new PaintWorkletGlobalScope(frame, url, userAgent, securityOrigin, isolate);
|
| + PaintWorkletGlobalScope* paintWorkletGlobalScope = new PaintWorkletGlobalScope(frame, url, userAgent, std::move(securityOrigin), isolate);
|
| paintWorkletGlobalScope->scriptController()->initializeContextIfNeeded();
|
| MainThreadDebugger::instance()->contextCreated(paintWorkletGlobalScope->scriptController()->getScriptState(), paintWorkletGlobalScope->frame(), paintWorkletGlobalScope->getSecurityOrigin());
|
| return paintWorkletGlobalScope;
|
| }
|
|
|
| PaintWorkletGlobalScope::PaintWorkletGlobalScope(LocalFrame* frame, const KURL& url, const String& userAgent, PassRefPtr<SecurityOrigin> securityOrigin, v8::Isolate* isolate)
|
| - : MainThreadWorkletGlobalScope(frame, url, userAgent, securityOrigin, isolate)
|
| + : MainThreadWorkletGlobalScope(frame, url, userAgent, std::move(securityOrigin), isolate)
|
| {
|
| }
|
|
|
|
|