| Index: chrome/common/localized_error.cc
|
| diff --git a/chrome/common/localized_error.cc b/chrome/common/localized_error.cc
|
| index 576e1b7794ae10a51c84498bcfbdf2ae45d83797..d689f5817bc33ca14cd912441d484666099ef97c 100644
|
| --- a/chrome/common/localized_error.cc
|
| +++ b/chrome/common/localized_error.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/string_number_conversions.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "base/values.h"
|
| +#include "chrome/common/extensions/api/icons/icons_handler.h"
|
| #include "chrome/common/extensions/extension_constants.h"
|
| #include "chrome/common/extensions/extension_icon_set.h"
|
| #include "chrome/common/extensions/extension_set.h"
|
| @@ -716,11 +717,15 @@ void LocalizedError::GetAppErrorStrings(
|
| failed_url.c_str()));
|
|
|
| error_strings->SetString("title", app->name());
|
| - error_strings->SetString("icon",
|
| - app->GetIconURL(extension_misc::EXTENSION_ICON_GIGANTOR,
|
| - ExtensionIconSet::MATCH_SMALLER).spec());
|
| + error_strings->SetString(
|
| + "icon",
|
| + extensions::IconsInfo::GetIconURL(
|
| + app,
|
| + extension_misc::EXTENSION_ICON_GIGANTOR,
|
| + ExtensionIconSet::MATCH_SMALLER).spec());
|
| error_strings->SetString("name", app->name());
|
| - error_strings->SetString("msg",
|
| + error_strings->SetString(
|
| + "msg",
|
| l10n_util::GetStringUTF16(IDS_ERRORPAGES_APP_WARNING));
|
|
|
| #if defined(OS_CHROMEOS)
|
|
|