summaryrefslogtreecommitdiffstats
path: root/components/webdata/common/web_database_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/webdata/common/web_database_service.cc')
-rw-r--r--components/webdata/common/web_database_service.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/webdata/common/web_database_service.cc b/components/webdata/common/web_database_service.cc
index 6fcc9f0..93b0924 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() {