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

Unified Diff: content/public/browser/navigation_handle.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/public/browser/download_url_parameters.h ('k') | content/public/common/service_registry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/navigation_handle.cc
diff --git a/content/public/browser/navigation_handle.cc b/content/public/browser/navigation_handle.cc
index fa67249661048fb580912b42ecbcdc5247265c3f..4926947a2e926cde7b3f25ea96bc20ae22680377 100644
--- a/content/public/browser/navigation_handle.cc
+++ b/content/public/browser/navigation_handle.cc
@@ -4,6 +4,8 @@
#include "content/public/browser/navigation_handle.h"
+#include <utility>
+
#include "content/browser/frame_host/navigation_handle_impl.h"
#include "content/browser/frame_host/navigator.h"
#include "content/browser/frame_host/render_frame_host_impl.h"
@@ -26,7 +28,7 @@ scoped_ptr<NavigationHandle> NavigationHandle::CreateNavigationHandleForTesting(
url,
static_cast<RenderFrameHostImpl*>(render_frame_host)->frame_tree_node(),
base::TimeTicks::Now());
- return scoped_ptr<NavigationHandle>(handle_impl.Pass());
+ return scoped_ptr<NavigationHandle>(std::move(handle_impl));
}
} // namespace content
« no previous file with comments | « content/public/browser/download_url_parameters.h ('k') | content/public/common/service_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698