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

Unified Diff: content/shell/browser/shell_content_browser_client.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
« no previous file with comments | « content/shell/browser/shell_browser_context.cc ('k') | content/shell/browser/shell_net_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_content_browser_client.cc
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc
index 6c9e9b4783961ff501ad65fb003614feeab4e1b0..d9a30a23b463f92d560044f1b66f949e003474bf 100644
--- a/content/shell/browser/shell_content_browser_client.cc
+++ b/content/shell/browser/shell_content_browser_client.cc
@@ -5,6 +5,7 @@
#include "content/shell/browser/shell_content_browser_client.h"
#include <stddef.h>
+#include <utility>
#include "base/base_switches.h"
#include "base/command_line.h"
@@ -172,7 +173,7 @@ net::URLRequestContextGetter* ShellContentBrowserClient::CreateRequestContext(
ShellBrowserContext* shell_browser_context =
ShellBrowserContextForBrowserContext(content_browser_context);
return shell_browser_context->CreateRequestContext(
- protocol_handlers, request_interceptors.Pass());
+ protocol_handlers, std::move(request_interceptors));
}
net::URLRequestContextGetter*
@@ -185,10 +186,8 @@ ShellContentBrowserClient::CreateRequestContextForStoragePartition(
ShellBrowserContext* shell_browser_context =
ShellBrowserContextForBrowserContext(content_browser_context);
return shell_browser_context->CreateRequestContextForStoragePartition(
- partition_path,
- in_memory,
- protocol_handlers,
- request_interceptors.Pass());
+ partition_path, in_memory, protocol_handlers,
+ std::move(request_interceptors));
}
bool ShellContentBrowserClient::IsHandledURL(const GURL& url) {
« no previous file with comments | « content/shell/browser/shell_browser_context.cc ('k') | content/shell/browser/shell_net_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698