| Index: chrome/browser/ui/webui/extensions/install_extension_handler.cc
|
| diff --git a/chrome/browser/ui/webui/extensions/install_extension_handler.cc b/chrome/browser/ui/webui/extensions/install_extension_handler.cc
|
| index 0e4b82fdad38f47c008ec0ad5b8e317137bbc544..2d504f3a0172bd0c5bffa470be87bdee59c7e775 100644
|
| --- a/chrome/browser/ui/webui/extensions/install_extension_handler.cc
|
| +++ b/chrome/browser/ui/webui/extensions/install_extension_handler.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "chrome/browser/ui/webui/extensions/install_extension_handler.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/bind.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| @@ -106,7 +108,7 @@ void InstallExtensionHandler::HandleInstallMessage(
|
| scoped_ptr<ExtensionInstallPrompt> prompt(
|
| new ExtensionInstallPrompt(web_ui()->GetWebContents()));
|
| scoped_refptr<CrxInstaller> crx_installer(CrxInstaller::Create(
|
| - ExtensionSystem::Get(profile)->extension_service(), prompt.Pass()));
|
| + ExtensionSystem::Get(profile)->extension_service(), std::move(prompt)));
|
| crx_installer->set_error_on_unsupported_requirements(true);
|
| crx_installer->set_off_store_install_allow_reason(
|
| CrxInstaller::OffStoreInstallAllowedFromSettingsPage);
|
|
|