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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBKey.h

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/indexeddb/IDBKey.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBKey.h b/third_party/WebKit/Source/modules/indexeddb/IDBKey.h
index 0728328e023ff97bc090fbb775a8f0ff115a0f3a..cc2889c15c546ed4fd362d9613afdc445d938a67 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBKey.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBKey.h
@@ -51,7 +51,7 @@ public:
static IDBKey* createBinary(PassRefPtr<SharedBuffer> binary)
{
- return new IDBKey(binary);
+ return new IDBKey(std::move(binary));
}
static IDBKey* createString(const String& string)
« no previous file with comments | « third_party/WebKit/Source/modules/indexeddb/IDBAny.h ('k') | third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698