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

Unified Diff: chrome/browser/apps/guest_view/app_view_browsertest.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chrome/browser/apps/guest_view/app_view_browsertest.cc
diff --git a/chrome/browser/apps/guest_view/app_view_browsertest.cc b/chrome/browser/apps/guest_view/app_view_browsertest.cc
index ac2206b88a9af3942fc77d2b463b77d62b3bfde3..a98d943877ea714413651180c4a8dced6f020284 100644
--- a/chrome/browser/apps/guest_view/app_view_browsertest.cc
+++ b/chrome/browser/apps/guest_view/app_view_browsertest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <utility>
+
#include "base/macros.h"
#include "base/strings/stringprintf.h"
#include "chrome/browser/apps/app_browsertest_util.h"
@@ -250,7 +252,7 @@ IN_PROC_BROWSER_TEST_F(AppViewTest, KillGuestCommunicatingWithWrongAppView) {
guest_instance_id);
fake_embed_request_param->SetString(appview::kEmbedderID, host_app->id());
extensions::AppRuntimeEventRouter::DispatchOnEmbedRequestedEvent(
- browser()->profile(), fake_embed_request_param.Pass(), bad_app);
+ browser()->profile(), std::move(fake_embed_request_param), bad_app);
bad_app_obs.WaitUntilRenderProcessHostKilled();
// Now ask the guest to continue embedding.
ASSERT_TRUE(

Powered by Google App Engine
This is Rietveld 408576698