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); |
} |