Index: components/web_view/pending_web_view_load.cc |
diff --git a/components/web_view/pending_web_view_load.cc b/components/web_view/pending_web_view_load.cc |
index 503a1b4e2559a23667129f93ef1dc9b3f85b8bbe..a86aa0c5d429103d590fa5fd4d3cbebecc2040e6 100644 |
--- a/components/web_view/pending_web_view_load.cc |
+++ b/components/web_view/pending_web_view_load.cc |
@@ -4,6 +4,8 @@ |
#include "components/web_view/pending_web_view_load.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/callback.h" |
#include "components/web_view/frame_connection.h" |
@@ -22,7 +24,7 @@ void PendingWebViewLoad::Init(mojo::URLRequestPtr request) { |
navigation_start_time_ = |
base::TimeTicks::FromInternalValue(request->originating_time_ticks); |
frame_connection_.reset(new FrameConnection); |
- frame_connection_->Init(web_view_->app_, request.Pass(), |
+ frame_connection_->Init(web_view_->app_, std::move(request), |
base::Bind(&PendingWebViewLoad::OnGotContentHandlerID, |
base::Unretained(this))); |
} |