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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.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/AnimationWorkletThread.cpp
diff --git a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
index 5f67f152da4ee02523b4a6bf53f09b47cc628cbe..41534724a78e35c038fa906d8d4f5069313ee8dd 100644
--- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
+++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
@@ -16,11 +16,11 @@ std::unique_ptr<AnimationWorkletThread> AnimationWorkletThread::create(PassRefPt
{
TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("animation-worklet"), "AnimationWorkletThread::create");
DCHECK(isMainThread());
- return wrapUnique(new AnimationWorkletThread(workerLoaderProxy, workerReportingProxy));
+ return wrapUnique(new AnimationWorkletThread(std::move(workerLoaderProxy), workerReportingProxy));
}
AnimationWorkletThread::AnimationWorkletThread(PassRefPtr<WorkerLoaderProxy> workerLoaderProxy, WorkerReportingProxy& workerReportingProxy)
- : AbstractAnimationWorkletThread(workerLoaderProxy, workerReportingProxy)
+ : AbstractAnimationWorkletThread(std::move(workerLoaderProxy), workerReportingProxy)
{
}

Powered by Google App Engine
This is Rietveld 408576698