Index: chrome/browser/extensions/bundle_installer.cc |
diff --git a/chrome/browser/extensions/bundle_installer.cc b/chrome/browser/extensions/bundle_installer.cc |
index 30e489d9f05e1c9cab8e7b2cf7252adb775fc4e0..7e6d269de893accc96f9311395152aff223dd9e3 100644 |
--- a/chrome/browser/extensions/bundle_installer.cc |
+++ b/chrome/browser/extensions/bundle_installer.cc |
@@ -6,6 +6,7 @@ |
#include <algorithm> |
#include <string> |
+#include <utility> |
#include <vector> |
#include "base/command_line.h" |
@@ -185,11 +186,7 @@ void BundleInstaller::CompleteInstall(content::WebContents* web_contents, |
gfx::ImageSkia::CreateFrom1xBitmap(entry.second.icon); |
scoped_refptr<WebstoreInstaller> installer = new WebstoreInstaller( |
- profile_, |
- this, |
- web_contents, |
- entry.first, |
- approval.Pass(), |
+ profile_, this, web_contents, entry.first, std::move(approval), |
WebstoreInstaller::INSTALL_SOURCE_OTHER); |
installer->Start(); |
} |
@@ -298,7 +295,7 @@ void BundleInstaller::ShowPrompt() { |
} |
prompt->set_bundle(this); |
install_ui_->ShowDialog( |
- this, nullptr, &icon_, prompt.Pass(), permissions.Pass(), |
+ this, nullptr, &icon_, std::move(prompt), std::move(permissions), |
ExtensionInstallPrompt::GetDefaultShowDialogCallback()); |
} |
} |