Index: components/webdata/common/web_database_backend.cc |
diff --git a/components/webdata/common/web_database_backend.cc b/components/webdata/common/web_database_backend.cc |
index 2ed1d87030db2258ab7944080edf30c5d897a51a..df09d30f79988396114e21a7cea2bf6e1a8ddcbb 100644 |
--- a/components/webdata/common/web_database_backend.cc |
+++ b/components/webdata/common/web_database_backend.cc |
@@ -4,6 +4,8 @@ |
#include "components/webdata/common/web_database_backend.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/location.h" |
#include "components/webdata/common/web_data_request_manager.h" |
@@ -75,7 +77,7 @@ void WebDatabaseBackend::DBWriteTaskWrapper( |
return; |
ExecuteWriteTask(task); |
- request_manager_->RequestCompleted(request.Pass()); |
+ request_manager_->RequestCompleted(std::move(request)); |
} |
void WebDatabaseBackend::ExecuteWriteTask( |
@@ -94,8 +96,8 @@ void WebDatabaseBackend::DBReadTaskWrapper( |
if (request->IsCancelled()) |
return; |
- request->SetResult(ExecuteReadTask(task).Pass()); |
- request_manager_->RequestCompleted(request.Pass()); |
+ request->SetResult(ExecuteReadTask(task)); |
+ request_manager_->RequestCompleted(std::move(request)); |
} |
scoped_ptr<WDTypedResult> WebDatabaseBackend::ExecuteReadTask( |