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

Unified Diff: content/test/test_navigation_url_loader_factory.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/test/test_navigation_url_loader.cc ('k') | content/utility/utility_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_navigation_url_loader_factory.cc
diff --git a/content/test/test_navigation_url_loader_factory.cc b/content/test/test_navigation_url_loader_factory.cc
index 29eddd16df8b82282b33abee5da7ca532e32418c..7d0095f7011b43b2605e9cba9c973d1697f8f571 100644
--- a/content/test/test_navigation_url_loader_factory.cc
+++ b/content/test/test_navigation_url_loader_factory.cc
@@ -4,6 +4,8 @@
#include "content/test/test_navigation_url_loader_factory.h"
+#include <utility>
+
#include "content/browser/loader/navigation_url_loader.h"
#include "content/test/test_navigation_url_loader.h"
@@ -22,8 +24,8 @@ scoped_ptr<NavigationURLLoader> TestNavigationURLLoaderFactory::CreateLoader(
scoped_ptr<NavigationRequestInfo> request_info,
ServiceWorkerNavigationHandle* service_worker_handle,
NavigationURLLoaderDelegate* delegate) {
- return scoped_ptr<NavigationURLLoader>(new TestNavigationURLLoader(
- request_info.Pass(), delegate));
+ return scoped_ptr<NavigationURLLoader>(
+ new TestNavigationURLLoader(std::move(request_info), delegate));
}
} // namespace content
« no previous file with comments | « content/test/test_navigation_url_loader.cc ('k') | content/utility/utility_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698