Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1081)

Unified Diff: net/http/mock_http_cache.cc

Issue 1545233002: Convert Pass()→std::move() in //net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_transaction_test_util.cc ('k') | net/http/transport_security_persister.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/mock_http_cache.cc
diff --git a/net/http/mock_http_cache.cc b/net/http/mock_http_cache.cc
index e5496b1ef92b50f22e84e7077d0b18ff812d2b49..533177a9f89971c382cfa3c7dbcf0fcfad9ed5bd 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() {
« no previous file with comments | « net/http/http_transaction_test_util.cc ('k') | net/http/transport_security_persister.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698