summaryrefslogtreecommitdiffstats
path: root/ios/net/http_cache_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ios/net/http_cache_helper.cc')
-rw-r--r--ios/net/http_cache_helper.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ios/net/http_cache_helper.cc b/ios/net/http_cache_helper.cc
index 4e67b98..1702cac 100644
--- a/ios/net/http_cache_helper.cc
+++ b/ios/net/http_cache_helper.cc
@@ -4,6 +4,8 @@
#include "ios/net/http_cache_helper.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/callback.h"
@@ -67,7 +69,7 @@ void ClearHttpCacheOnIOThread(
scoped_ptr<disk_cache::Backend*> backend(new disk_cache::Backend*(nullptr));
disk_cache::Backend** backend_ptr = backend.get();
net::CompletionCallback doom_callback =
- base::Bind(&DoomHttpCache, base::Passed(backend.Pass()),
+ base::Bind(&DoomHttpCache, base::Passed(std::move(backend)),
client_task_runner, callback);
int rv = http_cache->GetBackend(backend_ptr, doom_callback);