Index: content/browser/indexed_db/indexed_db_unittest.cc |
diff --git a/content/browser/indexed_db/indexed_db_unittest.cc b/content/browser/indexed_db/indexed_db_unittest.cc |
index 8628a6b32a01a527c1a9afc0cf40c1eb08374782..f7ea47817e641b8362594553539b9cabf04509f4 100644 |
--- a/content/browser/indexed_db/indexed_db_unittest.cc |
+++ b/content/browser/indexed_db/indexed_db_unittest.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include <stdint.h> |
+#include <utility> |
#include "base/files/file_util.h" |
#include "base/files/scoped_temp_dir.h" |
@@ -137,7 +138,7 @@ class ForceCloseDBCallbacks : public IndexedDBCallbacks { |
void OnSuccess(const std::vector<base::string16>&) override {} |
void OnSuccess(scoped_ptr<IndexedDBConnection> connection, |
const IndexedDBDatabaseMetadata& metadata) override { |
- connection_ = connection.Pass(); |
+ connection_ = std::move(connection); |
idb_context_->ConnectionOpened(origin_url_, connection_.get()); |
} |