Added disable-profile-avatar-downloading.patch

This commit is contained in:
Eloston
2015-12-12 18:23:32 -08:00
parent 51823902c1
commit b2cfe66a35
2 changed files with 16 additions and 0 deletions

View File

@@ -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

View File

@@ -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));
}