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

Unified Diff: components/web_view/pending_web_view_load.h

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_entry.cc ('k') | components/web_view/pending_web_view_load.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.h
diff --git a/components/web_view/pending_web_view_load.h b/components/web_view/pending_web_view_load.h
index ac8415b90bde5930956c763a507905ee737b5f15..9151db45639ce063b4a85fa859c24a359e44ac29 100644
--- a/components/web_view/pending_web_view_load.h
+++ b/components/web_view/pending_web_view_load.h
@@ -6,6 +6,7 @@
#define COMPONENTS_WEB_VIEW_PENDING_WEB_VIEW_LOAD_H_
#include <string>
+#include <utility>
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
@@ -28,7 +29,7 @@ class PendingWebViewLoad {
void Init(mojo::URLRequestPtr request);
scoped_ptr<FrameConnection> frame_connection() {
- return frame_connection_.Pass();
+ return std::move(frame_connection_);
}
bool is_content_handler_id_valid() const {
« no previous file with comments | « components/web_view/navigation_entry.cc ('k') | components/web_view/pending_web_view_load.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698