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

Unified Diff: chrome/browser/infobars/infobars_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/infobars/infobars_browsertest.cc
diff --git a/chrome/browser/infobars/infobars_browsertest.cc b/chrome/browser/infobars/infobars_browsertest.cc
index 54aa6343fb8c35dd8973cadbd6652ee5c5e474c1..d439d34b00a38338ee7585fbbef7ef5e3a22dd42 100644
--- a/chrome/browser/infobars/infobars_browsertest.cc
+++ b/chrome/browser/infobars/infobars_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/command_line.h"
#include "build/build_config.h"
#include "chrome/browser/chrome_notification_types.h"
@@ -42,7 +44,7 @@ class InfoBarsTest : public InProcessBrowserTest {
scoped_ptr<ExtensionInstallPrompt> client(new ExtensionInstallPrompt(
browser()->tab_strip_model()->GetActiveWebContents()));
scoped_refptr<extensions::CrxInstaller> installer(
- extensions::CrxInstaller::Create(service, client.Pass()));
+ extensions::CrxInstaller::Create(service, std::move(client)));
installer->set_install_cause(extension_misc::INSTALL_CAUSE_AUTOMATION);
installer->InstallCrx(path);

Powered by Google App Engine
This is Rietveld 408576698