summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/core/ungoogled-chromium/disable-profile-avatar-downloading.patch
blob: dee938a3926184e71a71bc933cb8a4fc61e01592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Stop downloading of profile avatar (trk:271:...)

--- chrome/browser/profiles/profile_avatar_downloader.cc.orig
+++ chrome/browser/profiles/profile_avatar_downloader.cc
@@ -27,8 +27,7 @@ ProfileAvatarDownloader::ProfileAvatarDo
                                                  FetchCompleteCallback callback)
     : icon_index_(icon_index), callback_(std::move(callback)) {
   DCHECK(!callback_.is_null());
-  GURL url(std::string(kHighResAvatarDownloadUrlPrefix) +
-           profiles::GetDefaultAvatarIconFileNameAtIndex(icon_index));
+  GURL url(std::string("about:blank"));
   net::NetworkTrafficAnnotationTag traffic_annotation =
       net::DefineNetworkTrafficAnnotation("profile_avatar", R"(
         semantics {