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

Unified Diff: third_party/WebKit/Source/modules/cachestorage/Cache.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/cachestorage/Cache.cpp
diff --git a/third_party/WebKit/Source/modules/cachestorage/Cache.cpp b/third_party/WebKit/Source/modules/cachestorage/Cache.cpp
index 09d93f4c46ce78c5968110084097ebce60f0aebe..ee98f37cdc348c27505e4d7b97085c228972a43f 100644
--- a/third_party/WebKit/Source/modules/cachestorage/Cache.cpp
+++ b/third_party/WebKit/Source/modules/cachestorage/Cache.cpp
@@ -328,7 +328,7 @@ public:
batchOperation.operationType = WebServiceWorkerCache::OperationTypePut;
batchOperation.request = m_webRequest;
batchOperation.response = m_webResponse;
- batchOperation.response.setBlobDataHandle(handle);
+ batchOperation.response.setBlobDataHandle(std::move(handle));
m_barrierCallback->onSuccess(m_index, batchOperation);
}

Powered by Google App Engine
This is Rietveld 408576698