Index: chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc |
diff --git a/chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc b/chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc |
index 99404cb1219d98bb2389f6a1e16c077354263f3e..c70dd2d1c9f7959047f14f4084ee315950ef0ec1 100644 |
--- a/chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc |
+++ b/chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc |
@@ -105,6 +105,13 @@ content::WebUIDataSource* CreateDownloadsUIHTMLSource(Profile* profile) { |
IDR_MD_DOWNLOADS_2X_NO_DOWNLOADS_PNG); |
#if BUILDFLAG(USE_VULCANIZE) |
+ std::unordered_set<std::string> exclude_from_gzip; |
+ exclude_from_gzip.insert("1x/incognito_marker.png"); |
+ exclude_from_gzip.insert("2x/incognito_marker.png"); |
+ exclude_from_gzip.insert("1x/no_downloads.png"); |
+ exclude_from_gzip.insert("2x/no_downloads.png"); |
+ source->UseGzip(exclude_from_gzip); |
+ |
source->AddResourcePath("crisper.js", IDR_MD_DOWNLOADS_CRISPER_JS); |
source->SetDefaultResource(IDR_MD_DOWNLOADS_VULCANIZED_HTML); |
#else |