Index: components/web_view/navigation_controller.cc |
diff --git a/components/web_view/navigation_controller.cc b/components/web_view/navigation_controller.cc |
index 87304fae2866a0f8c1158e79d71ca337d8b3552a..d64c0d8aac87d8ff15a24474037380a34b615232 100644 |
--- a/components/web_view/navigation_controller.cc |
+++ b/components/web_view/navigation_controller.cc |
@@ -4,6 +4,8 @@ |
#include "components/web_view/navigation_controller.h" |
+#include <utility> |
+ |
#include "components/web_view/frame.h" |
#include "components/web_view/navigation_controller_delegate.h" |
#include "components/web_view/navigation_entry.h" |
@@ -99,7 +101,7 @@ void NavigationController::GoForward() { |
void NavigationController::LoadURL(mojo::URLRequestPtr request) { |
// TODO(erg): This mimics part of NavigationControllerImpl::LoadURL(), minus |
// all the error checking. |
- SetPendingEntry(make_scoped_ptr(new NavigationEntry(request.Pass()))); |
+ SetPendingEntry(make_scoped_ptr(new NavigationEntry(std::move(request)))); |
NavigateToPendingEntry(ReloadType::NO_RELOAD, false); |
} |