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 |