diff options
author | dcheng <dcheng@chromium.org> | 2015-12-25 22:16:36 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-26 06:17:30 +0000 |
commit | 36b6aec9a5f4953e2177146503096ca7de00cc36 (patch) | |
tree | a1d68bc1fab0b8127d7f47d3f9b3550eada5ac15 /content/browser/frame_host/navigation_handle_impl.cc | |
parent | 2729e442b1172c5094503a03fe356c8580bb919d (diff) | |
download | chromium_src-36b6aec9a5f4953e2177146503096ca7de00cc36.zip chromium_src-36b6aec9a5f4953e2177146503096ca7de00cc36.tar.gz chromium_src-36b6aec9a5f4953e2177146503096ca7de00cc36.tar.bz2 |
Convert Pass()→std::move() in //content/browser
BUG=557422
Review URL: https://codereview.chromium.org/1545243002
Cr-Commit-Position: refs/heads/master@{#366894}
Diffstat (limited to 'content/browser/frame_host/navigation_handle_impl.cc')
-rw-r--r-- | content/browser/frame_host/navigation_handle_impl.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc index fa87297..743d2ea 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 |