Index: components/webdata/common/web_database_service.cc |
diff --git a/components/webdata/common/web_database_service.cc b/components/webdata/common/web_database_service.cc |
index 6fcc9f0e94304c0d091ca758593140b93220da46..93b0924a55077637847938201951da3b8ceb797a 100644 |
--- a/components/webdata/common/web_database_service.cc |
+++ b/components/webdata/common/web_database_service.cc |
@@ -5,6 +5,7 @@ |
#include "components/webdata/common/web_database_service.h" |
#include <stddef.h> |
+#include <utility> |
#include "base/bind.h" |
#include "base/location.h" |
@@ -61,7 +62,7 @@ void WebDatabaseService::AddTable(scoped_ptr<WebDatabaseTable> table) { |
web_db_backend_ = new WebDatabaseBackend( |
path_, new BackendDelegate(weak_ptr_factory_.GetWeakPtr()), db_thread_); |
} |
- web_db_backend_->AddTable(table.Pass()); |
+ web_db_backend_->AddTable(std::move(table)); |
} |
void WebDatabaseService::LoadDatabase() { |