Chromium Code Reviews| Index: components/error_page/common/localized_error.cc |
| diff --git a/components/error_page/common/localized_error.cc b/components/error_page/common/localized_error.cc |
| index 7285d969c5bea00ee143fe960cf82e5a37484a9d..0f4f9be0b22c12867598206f0ab752655d30da86 100644 |
| --- a/components/error_page/common/localized_error.cc |
| +++ b/components/error_page/common/localized_error.cc |
| @@ -1063,10 +1063,7 @@ void LocalizedError::GetStrings(int error_code, |
| base::DictionaryValue* show_offline_pages_button = |
| new base::DictionaryValue; |
| base::string16 button_text = l10n_util::GetStringUTF16( |
| - offline_pages::GetOfflinePageFeatureMode() == |
| - offline_pages::FeatureMode::ENABLED_AS_BOOKMARKS |
| - ? IDS_ERRORPAGES_BUTTON_SHOW_OFFLINE_PAGES_AS_BOOKMARKS |
| - : IDS_ERRORPAGES_BUTTON_SHOW_OFFLINE_PAGES); |
| + IDS_ERRORPAGES_BUTTON_SHOW_OFFLINE_PAGES_AS_BOOKMARKS); |
|
fgorski
2016/04/18 17:09:37
I am not sure if we still want to point the users
jianli
2016/04/18 21:17:00
I will do it in a separate patch to hide/remove of
|
| show_offline_pages_button->SetString("msg", button_text); |
| error_strings->Set("showOfflinePagesButton", show_offline_pages_button); |
| } |