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

Unified Diff: chromecast/browser/cast_content_browser_client.cc

Issue 1553503002: Convert Pass()→std::move() in //chromecast (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 | « chromecast/browser/cast_browser_process.cc ('k') | chromecast/browser/cast_net_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_content_browser_client.cc
diff --git a/chromecast/browser/cast_content_browser_client.cc b/chromecast/browser/cast_content_browser_client.cc
index d644b12f2ec0cb7152d6c3305115eba78147d3d3..3021c9c1cbfb7077e0d455f031f318a56ee4c3e8 100644
--- a/chromecast/browser/cast_content_browser_client.cc
+++ b/chromecast/browser/cast_content_browser_client.cc
@@ -5,8 +5,8 @@
#include "chromecast/browser/cast_content_browser_client.h"
#include <stddef.h>
-
#include <string>
+#include <utility>
#include "base/base_switches.h"
#include "base/command_line.h"
@@ -163,9 +163,7 @@ net::URLRequestContextGetter* CastContentBrowserClient::CreateRequestContext(
content::ProtocolHandlerMap* protocol_handlers,
content::URLRequestInterceptorScopedVector request_interceptors) {
return url_request_context_factory_->CreateMainGetter(
- browser_context,
- protocol_handlers,
- request_interceptors.Pass());
+ browser_context, protocol_handlers, std::move(request_interceptors));
}
bool CastContentBrowserClient::IsHandledURL(const GURL& url) {
« no previous file with comments | « chromecast/browser/cast_browser_process.cc ('k') | chromecast/browser/cast_net_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698