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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScope.cpp

Issue 2308343002: Replaced PassRefPtr copites with moves in Source/modules. (Closed)
Patch Set: Created 4 years, 3 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/compositorworker/AnimationWorkletGlobalScope.cpp
diff --git a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScope.cpp b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScope.cpp
index 19c7218a9c97b473815ae966767addc07d2cd1ec..9586c64b49f3e8335497df5a85333713dae32bbf 100644
--- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScope.cpp
+++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScope.cpp
@@ -10,11 +10,11 @@ namespace blink {
AnimationWorkletGlobalScope* AnimationWorkletGlobalScope::create(const KURL& url, const String& userAgent, PassRefPtr<SecurityOrigin> securityOrigin, v8::Isolate* isolate, WorkerThread* thread)
{
- return new AnimationWorkletGlobalScope(url, userAgent, securityOrigin, isolate, thread);
+ return new AnimationWorkletGlobalScope(url, userAgent, std::move(securityOrigin), isolate, thread);
}
AnimationWorkletGlobalScope::AnimationWorkletGlobalScope(const KURL& url, const String& userAgent, PassRefPtr<SecurityOrigin> securityOrigin, v8::Isolate* isolate, WorkerThread* thread)
- : ThreadedWorkletGlobalScope(url, userAgent, securityOrigin, isolate, thread)
+ : ThreadedWorkletGlobalScope(url, userAgent, std::move(securityOrigin), isolate, thread)
{
}

Powered by Google App Engine
This is Rietveld 408576698