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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBAny.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/IDBAny.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBAny.h b/third_party/WebKit/Source/modules/indexeddb/IDBAny.h
index 805cc96b6986013f1e017a1b43697eaa76eeb16e..494d918e6ab68280c08b771edbda9b55d87326c6 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBAny.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBAny.h
@@ -70,7 +70,7 @@ public:
}
static IDBAny* create(PassRefPtr<IDBValue> value)
{
- return new IDBAny(value);
+ return new IDBAny(std::move(value));
}
static IDBAny* create(const Vector<RefPtr<IDBValue>>& values)
{

Powered by Google App Engine
This is Rietveld 408576698