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

Unified Diff: third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp

Issue 2282413002: Replaced PassRefPtr copies with moves in Source/core. (Closed)
Patch Set: rebased 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/core/loader/WorkerThreadableLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp b/third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp
index 2183ea0e9a5b037b9ce987e82dc6a7cee9103e61..38cedb103746c2ae19b836d111707018595b3ba6 100644
--- a/third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp
@@ -431,7 +431,7 @@ void WorkerThreadableLoader::MainThreadLoaderHolder::createAndStart(
TaskForwarder* forwarder;
RefPtr<WorkerLoaderProxy> loaderProxy = passLoaderProxy;
if (eventWithTasks)
- forwarder = new SyncTaskForwarder(eventWithTasks);
+ forwarder = new SyncTaskForwarder(std::move(eventWithTasks));
else
forwarder = new AsyncTaskForwarder(loaderProxy);
« no previous file with comments | « third_party/WebKit/Source/core/loader/PingLoader.cpp ('k') | third_party/WebKit/Source/core/style/ClipPathOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698