diff options
Diffstat (limited to 'chrome/browser/views')
-rw-r--r-- | chrome/browser/views/extensions/extension_install_prompt.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/views/extensions/extension_install_prompt.cc b/chrome/browser/views/extensions/extension_install_prompt.cc index 8c5eb02..f2f9a38 100644 --- a/chrome/browser/views/extensions/extension_install_prompt.cc +++ b/chrome/browser/views/extensions/extension_install_prompt.cc @@ -157,7 +157,7 @@ class InstallDialogContent : public views::View, public views::DialogDelegate { // static void ExtensionInstallUI::ShowExtensionInstallUIPromptImpl( Profile* profile, Delegate* delegate, Extension* extension, SkBitmap* icon, - const std::wstring& warning_text, bool is_uninstall) { + const string16& warning_text, bool is_uninstall) { Browser* browser = BrowserList::GetLastActiveWithProfile(profile); if (!browser) { delegate->InstallUIProceed(); @@ -172,5 +172,6 @@ void ExtensionInstallUI::ShowExtensionInstallUIPromptImpl( views::Window::CreateChromeWindow(window->GetNativeHandle(), gfx::Rect(), new InstallDialogContent(delegate, extension, icon, - warning_text, is_uninstall))->Show(); + UTF16ToWideHack(warning_text), + is_uninstall))->Show(); } |