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

Unified Diff: content/shell/browser/layout_test/layout_test_url_request_context_getter.cc

Issue 1544293002: Convert Pass()→std::move() in //content (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
Index: content/shell/browser/layout_test/layout_test_url_request_context_getter.cc
diff --git a/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc b/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc
index 7afdb58dd58b65842db1914c357f6817e796d68e..4674a58720acf2805db321ce31bf9b491ce5e724 100644
--- a/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc
+++ b/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc
@@ -4,6 +4,8 @@
#include "content/shell/browser/layout_test/layout_test_url_request_context_getter.h"
+#include <utility>
+
#include "base/command_line.h"
#include "base/logging.h"
#include "content/public/browser/browser_thread.h"
@@ -25,7 +27,7 @@ LayoutTestURLRequestContextGetter::LayoutTestURLRequestContextGetter(
io_loop,
file_loop,
protocol_handlers,
- request_interceptors.Pass(),
+ std::move(request_interceptors),
net_log) {
// Must first be created on the UI thread.
DCHECK_CURRENTLY_ON(BrowserThread::UI);

Powered by Google App Engine
This is Rietveld 408576698