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

Unified Diff: content/browser/indexed_db/indexed_db_cursor.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_cursor.cc
diff --git a/content/browser/indexed_db/indexed_db_cursor.cc b/content/browser/indexed_db/indexed_db_cursor.cc
index 5e3a96a2a4ca523bdd9b48f110693a8fa755f0b3..05e788cd40e43ad65c13c9f81cf0dffa17cda192 100644
--- a/content/browser/indexed_db/indexed_db_cursor.cc
+++ b/content/browser/indexed_db/indexed_db_cursor.cc
@@ -5,7 +5,7 @@
#include "content/browser/indexed_db/indexed_db_cursor.h"
#include <stddef.h>
-
+#include <utility>
#include <vector>
#include "base/bind.h"
@@ -26,7 +26,7 @@ IndexedDBCursor::IndexedDBCursor(
: task_type_(task_type),
cursor_type_(cursor_type),
transaction_(transaction),
- cursor_(cursor.Pass()),
+ cursor_(std::move(cursor)),
closed_(false) {
transaction_->RegisterOpenCursor(this);
}
« no previous file with comments | « content/browser/indexed_db/indexed_db_class_factory.cc ('k') | content/browser/indexed_db/indexed_db_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698