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

Unified Diff: content/browser/frame_host/navigation_handle_impl.cc

Issue 1545243002: Convert Pass()→std::move() in //content/browser (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
Index: content/browser/frame_host/navigation_handle_impl.cc
diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc
index fa872975bf9f697e4ba27e6a07ea40b88106e4c9..743d2ead8e6d5ef85eb18bf6f1012a3839890b4d 100644
--- a/content/browser/frame_host/navigation_handle_impl.cc
+++ b/content/browser/frame_host/navigation_handle_impl.cc
@@ -4,6 +4,8 @@
#include "content/browser/frame_host/navigation_handle_impl.h"
+#include <utility>
+
#include "content/browser/frame_host/frame_tree_node.h"
#include "content/browser/frame_host/navigator.h"
#include "content/browser/frame_host/navigator_delegate.h"
@@ -168,7 +170,7 @@ void NavigationHandleImpl::CancelDeferredNavigation(
void NavigationHandleImpl::RegisterThrottleForTesting(
scoped_ptr<NavigationThrottle> navigation_throttle) {
- throttles_.push_back(navigation_throttle.Pass());
+ throttles_.push_back(std::move(navigation_throttle));
}
NavigationThrottle::ThrottleCheckResult
« no previous file with comments | « content/browser/frame_host/navigation_entry_impl.cc ('k') | content/browser/frame_host/navigation_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698