From b2cfe66a359b6546f96a0df24c776a81e10ba042 Mon Sep 17 00:00:00 2001 From: Eloston Date: Sat, 12 Dec 2015 18:23:32 -0800 Subject: [PATCH] Added disable-profile-avatar-downloading.patch --- patches/patch_order | 1 + .../disable-profile-avatar-downloading.patch | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 patches/ungoogled-chromium/disable-profile-avatar-downloading.patch diff --git a/patches/patch_order b/patches/patch_order index 7120aad8..11162f6a 100644 --- a/patches/patch_order +++ b/patches/patch_order @@ -71,5 +71,6 @@ ungoogled-chromium/popups-to-tabs.patch ungoogled-chromium/prevent-trace-url-requests.patch ungoogled-chromium/disable-untraceable-urls.patch ungoogled-chromium/disable-ipv6-pinging.patch +ungoogled-chromium/disable-profile-avatar-downloading.patch ungoogled-chromium/fix-building-without-safebrowsing.patch diff --git a/patches/ungoogled-chromium/disable-profile-avatar-downloading.patch b/patches/ungoogled-chromium/disable-profile-avatar-downloading.patch new file mode 100644 index 00000000..47c038cc --- /dev/null +++ b/patches/ungoogled-chromium/disable-profile-avatar-downloading.patch @@ -0,0 +1,15 @@ +description: Stop downloading of profile avatar (trk:271:...) + +--- a/chrome/browser/profiles/profile_avatar_downloader.cc ++++ b/chrome/browser/profiles/profile_avatar_downloader.cc +@@ -23,8 +23,8 @@ ProfileAvatarDownloader::ProfileAvatarDownloader( + : icon_index_(icon_index), + profile_path_(profile_path), + cache_(cache) { +- GURL url(std::string(kHighResAvatarDownloadUrlPrefix) + +- profiles::GetDefaultAvatarIconFileNameAtIndex(icon_index)); ++ GURL url(std::string("about:blank")); ++ // profiles::GetDefaultAvatarIconFileNameAtIndex(icon_index)); + fetcher_.reset(new chrome::BitmapFetcher(url, this)); + } +