summaryrefslogtreecommitdiffstats
path: root/net/http/mock_http_cache.cc
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2015-12-25 19:56:48 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-26 03:57:46 +0000
commitc7eeda42aff650547a3da73b0e0f6ab3f9b0ef13 (patch)
tree40b0bcb9cc341020cebfc29b2bcce331b034f5b3 /net/http/mock_http_cache.cc
parent09487931ca01d32ab254555b29c51d648f45be3c (diff)
downloadchromium_src-c7eeda42aff650547a3da73b0e0f6ab3f9b0ef13.zip
chromium_src-c7eeda42aff650547a3da73b0e0f6ab3f9b0ef13.tar.gz
chromium_src-c7eeda42aff650547a3da73b0e0f6ab3f9b0ef13.tar.bz2
Convert Pass()→std::move() in //net
BUG=557422 R=avi@chromium.org TBR=gavinp@chromium.org Review URL: https://codereview.chromium.org/1545233002 Cr-Commit-Position: refs/heads/master@{#366889}
Diffstat (limited to 'net/http/mock_http_cache.cc')
-rw-r--r--net/http/mock_http_cache.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/http/mock_http_cache.cc b/net/http/mock_http_cache.cc
index e5496b1..533177a 100644
--- a/net/http/mock_http_cache.cc
+++ b/net/http/mock_http_cache.cc
@@ -5,6 +5,7 @@
#include "net/http/mock_http_cache.h"
#include <limits>
+#include <utility>
#include "base/bind.h"
#include "base/location.h"
@@ -532,7 +533,7 @@ MockHttpCache::MockHttpCache()
MockHttpCache::MockHttpCache(
scoped_ptr<HttpCache::BackendFactory> disk_cache_factory)
: http_cache_(make_scoped_ptr(new MockNetworkLayer()),
- disk_cache_factory.Pass(),
+ std::move(disk_cache_factory),
true) {}
disk_cache::Backend* MockHttpCache::backend() {