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 |