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) { |