From c430fbef34981ed4da477668eff9763b7f1b2875 Mon Sep 17 00:00:00 2001 From: Pete Miller Date: Tue, 20 Nov 2018 10:35:16 -0800 Subject: [PATCH] Merge pull request #936 from brave/fix/resources-not-found Do not add generated NTP resources in static GRD --- browser/ui/webui/brave_webui_source.cc | 4 ---- components/resources/brave_components_resources.grd | 3 --- 2 files changed, 7 deletions(-) diff --git a/browser/ui/webui/brave_webui_source.cc b/browser/ui/webui/brave_webui_source.cc index c18b5d9ddbd2..3859d5f53893 100644 --- a/browser/ui/webui/brave_webui_source.cc +++ b/browser/ui/webui/brave_webui_source.cc @@ -40,10 +40,6 @@ void CustomizeWebUIHTMLSource(const std::string &name, content::WebUIDataSource* static std::map > resources = { { std::string("newtab"), { - { "af7ae505a9eed503f8b8e6982036873e.woff2", IDR_BRAVE_COMMON_FONT_AWESOME_1 }, - { "fee66e712a8a08eef5805a46892932ad.woff", IDR_BRAVE_COMMON_FONT_AWESOME_2 }, - { "b06871f281fee6b241d60582ae9369b9.ttf", IDR_BRAVE_COMMON_FONT_AWESOME_3 }, - { "img/toolbar/menu_btn.svg", IDR_BRAVE_COMMON_TOOLBAR_IMG }, // Hash path is the MD5 of the file contents, webpack image loader does this { "fd85070af5114d6ac462c466e78448e4.svg", IDR_BRAVE_NEW_TAB_IMG1 }, diff --git a/components/resources/brave_components_resources.grd b/components/resources/brave_components_resources.grd index 3f23c63d2599..438b7cce1588 100644 --- a/components/resources/brave_components_resources.grd +++ b/components/resources/brave_components_resources.grd @@ -13,9 +13,6 @@ - - -