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

Unified Diff: components/web_view/client_initiated_frame_connection.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_resource/web_resource_service.cc ('k') | components/web_view/frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/client_initiated_frame_connection.cc
diff --git a/components/web_view/client_initiated_frame_connection.cc b/components/web_view/client_initiated_frame_connection.cc
index 016f354f91c0982c65584ec272d563861e7541bd..dbd86ef518460542975a29739d90d9e910c2b75e 100644
--- a/components/web_view/client_initiated_frame_connection.cc
+++ b/components/web_view/client_initiated_frame_connection.cc
@@ -4,11 +4,13 @@
#include "components/web_view/client_initiated_frame_connection.h"
+#include <utility>
+
namespace web_view {
ClientInitiatedFrameConnection::ClientInitiatedFrameConnection(
mojom::FrameClientPtr frame_client)
- : frame_client_(frame_client.Pass()) {}
+ : frame_client_(std::move(frame_client)) {}
ClientInitiatedFrameConnection::~ClientInitiatedFrameConnection() {}
« no previous file with comments | « components/web_resource/web_resource_service.cc ('k') | components/web_view/frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698