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

Unified Diff: content/browser/indexed_db/indexed_db_database_unittest.cc

Issue 1545243002: Convert Pass()→std::move() in //content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: content/browser/indexed_db/indexed_db_database_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_database_unittest.cc b/content/browser/indexed_db/indexed_db_database_unittest.cc
index 49878829d6229d0fe770f2addcfd805dc0df016a..a837945e4a2010d3f3a184907f2592e976db2446 100644
--- a/content/browser/indexed_db/indexed_db_database_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_database_unittest.cc
@@ -5,8 +5,8 @@
#include "content/browser/indexed_db/indexed_db_database.h"
#include <stdint.h>
-
#include <set>
+#include <utility>
#include "base/auto_reset.h"
#include "base/logging.h"
@@ -396,14 +396,8 @@ TEST_F(IndexedDBDatabaseOperationTest, CreatePutDelete) {
std::vector<IndexedDBDatabase::IndexKeys> index_keys;
scoped_refptr<MockIndexedDBCallbacks> request(
new MockIndexedDBCallbacks(false));
- db_->Put(transaction_->id(),
- store_id,
- &value,
- &handles,
- key.Pass(),
- blink::WebIDBPutModeAddOnly,
- request,
- index_keys);
+ db_->Put(transaction_->id(), store_id, &value, &handles, std::move(key),
+ blink::WebIDBPutModeAddOnly, request, index_keys);
// Deletion is asynchronous.
db_->DeleteObjectStore(transaction_->id(),
« no previous file with comments | « content/browser/indexed_db/indexed_db_database.cc ('k') | content/browser/indexed_db/indexed_db_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698