Index: ios/chrome/browser/ui/webui/crashes_ui.cc |
diff --git a/ios/chrome/browser/ui/webui/crashes_ui.cc b/ios/chrome/browser/ui/webui/crashes_ui.cc |
index 6286a34f44c4f216a42e5eaabd53396c9d78a36a..269baeabac6a1255980e982a5418cd43a3f6ba6e 100644 |
--- a/ios/chrome/browser/ui/webui/crashes_ui.cc |
+++ b/ios/chrome/browser/ui/webui/crashes_ui.cc |
@@ -9,13 +9,11 @@ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/macros.h" |
-#include "base/memory/ref_counted_memory.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/sys_info.h" |
#include "base/values.h" |
#include "components/crash/core/browser/crashes_ui_util.h" |
#include "components/grit/components_resources.h" |
-#include "components/grit/components_scaled_resources.h" |
#include "components/strings/grit/components_chromium_strings.h" |
#include "components/strings/grit/components_strings.h" |
#include "components/version_info/version_info.h" |
@@ -27,7 +25,6 @@ |
#include "ios/web/public/web_ui_ios_data_source.h" |
#include "ios/web/public/webui/web_ui_ios.h" |
#include "ios/web/public/webui/web_ui_ios_message_handler.h" |
-#include "ui/base/resource/resource_bundle.h" |
namespace { |
@@ -155,10 +152,3 @@ CrashesUI::CrashesUI(web::WebUIIOS* web_ui) : web::WebUIIOSController(web_ui) { |
web::WebUIIOSDataSource::Add(ios::ChromeBrowserState::FromWebUIIOS(web_ui), |
CreateCrashesUIHTMLSource()); |
} |
- |
-// static |
-base::RefCountedMemory* CrashesUI::GetFaviconResourceBytes( |
- ui::ScaleFactor scale_factor) { |
- return ResourceBundle::GetSharedInstance().LoadDataResourceBytesForScale( |
- IDR_CRASH_SAD_FAVICON, scale_factor); |
-} |