| Index: chrome/renderer/localized_error.cc
|
| diff --git a/chrome/renderer/localized_error.cc b/chrome/renderer/localized_error.cc
|
| index 820f6a06b7f435ce08a3141aa220c70e28abc665..952652b2fa488368773d231be13bf2d8a0c2af63 100644
|
| --- a/chrome/renderer/localized_error.cc
|
| +++ b/chrome/renderer/localized_error.cc
|
| @@ -516,10 +516,11 @@ void LocalizedError::GetFormRepostStrings(const GURL& display_url,
|
| error_strings->Set("summary", summary);
|
| }
|
|
|
| -void LocalizedError::GetAppErrorStrings(const WebURLError& error,
|
| - const GURL& display_url,
|
| - const ExtensionRendererInfo* app,
|
| - DictionaryValue* error_strings) {
|
| +void LocalizedError::GetAppErrorStrings(
|
| + const WebURLError& error,
|
| + const GURL& display_url,
|
| + const scoped_refptr<const Extension>& app,
|
| + DictionaryValue* error_strings) {
|
| DCHECK(app);
|
|
|
| bool rtl = LocaleIsRTL();
|
| @@ -534,7 +535,9 @@ void LocalizedError::GetAppErrorStrings(const WebURLError& error,
|
| failed_url.c_str()));
|
|
|
| error_strings->SetString("title", app->name());
|
| - error_strings->SetString("icon", app->icon_url().spec());
|
| + error_strings->SetString("icon",
|
| + app->GetIconURL(Extension::EXTENSION_ICON_LARGE,
|
| + ExtensionIconSet::MATCH_SMALLER).spec());
|
| error_strings->SetString("name", app->name());
|
| error_strings->SetString("msg",
|
| l10n_util::GetStringUTF16(IDS_ERRORPAGES_APP_WARNING));
|
|
|