Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Unified Diff: components/web_view/pending_web_view_load.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/web_view/pending_web_view_load.h ('k') | components/web_view/public/cpp/web_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)));
}
« no previous file with comments | « components/web_view/pending_web_view_load.h ('k') | components/web_view/public/cpp/web_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698