| Index: content/browser/loader/navigation_url_loader.cc
|
| diff --git a/content/browser/loader/navigation_url_loader.cc b/content/browser/loader/navigation_url_loader.cc
|
| index 0da9a2504c9bdca2badc472168d1298b4f6f309b..e2507650a8144b17649900846e09309d95255635 100644
|
| --- a/content/browser/loader/navigation_url_loader.cc
|
| +++ b/content/browser/loader/navigation_url_loader.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "content/browser/loader/navigation_url_loader.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "content/browser/frame_host/navigation_request_info.h"
|
| #include "content/browser/loader/navigation_url_loader_factory.h"
|
| #include "content/browser/loader/navigation_url_loader_impl.h"
|
| @@ -18,11 +20,12 @@ scoped_ptr<NavigationURLLoader> NavigationURLLoader::Create(
|
| ServiceWorkerNavigationHandle* service_worker_handle,
|
| NavigationURLLoaderDelegate* delegate) {
|
| if (g_factory) {
|
| - return g_factory->CreateLoader(browser_context, request_info.Pass(),
|
| + return g_factory->CreateLoader(browser_context, std::move(request_info),
|
| service_worker_handle, delegate);
|
| }
|
| - return scoped_ptr<NavigationURLLoader>(new NavigationURLLoaderImpl(
|
| - browser_context, request_info.Pass(), service_worker_handle, delegate));
|
| + return scoped_ptr<NavigationURLLoader>(
|
| + new NavigationURLLoaderImpl(browser_context, std::move(request_info),
|
| + service_worker_handle, delegate));
|
| }
|
|
|
| void NavigationURLLoader::SetFactoryForTesting(
|
|
|