mirror of
https://github.com/morgan9e/helium
synced 2026-04-15 00:44:06 +09:00
Added disable-profile-avatar-downloading.patch
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user