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

Unified Diff: components/web_view/navigation_entry.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/navigation_controller.cc ('k') | components/web_view/pending_web_view_load.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/navigation_entry.cc
diff --git a/components/web_view/navigation_entry.cc b/components/web_view/navigation_entry.cc
index 24d6db9274669861aa9c3d2c077a73b3d96f8e56..c82994a3539b83aa00974c7b5363d4ba3e9617b0 100644
--- a/components/web_view/navigation_entry.cc
+++ b/components/web_view/navigation_entry.cc
@@ -4,10 +4,12 @@
#include "components/web_view/navigation_entry.h"
+#include <utility>
+
namespace web_view {
NavigationEntry::NavigationEntry(mojo::URLRequestPtr original_request)
- : url_request_(original_request.Pass()) {
+ : url_request_(std::move(original_request)) {
if (url_request_.originating_time().is_null())
url_request_.set_originating_time(base::TimeTicks::Now());
}
« no previous file with comments | « components/web_view/navigation_controller.cc ('k') | components/web_view/pending_web_view_load.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698