Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7006)

Unified Diff: chrome/browser/profiles/profile_avatar_downloader.cc

Issue 1016003004: [BitmapFetcher] Added reference to OnFetchComplete url (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: chaging OnFetchComplete for bitmap fetcher Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_avatar_downloader.cc
diff --git a/chrome/browser/profiles/profile_avatar_downloader.cc b/chrome/browser/profiles/profile_avatar_downloader.cc
index f00dc76122dbc4e04d42a010664575c34a58d431..52d467880878cc3b3789ddde53f9d5a84334a7e4 100644
--- a/chrome/browser/profiles/profile_avatar_downloader.cc
+++ b/chrome/browser/profiles/profile_avatar_downloader.cc
@@ -44,7 +44,7 @@ void ProfileAvatarDownloader::Start() {
}
// BitmapFetcherDelegate overrides.
-void ProfileAvatarDownloader::OnFetchComplete(const GURL url,
+void ProfileAvatarDownloader::OnFetchComplete(const GURL& url,
const SkBitmap* bitmap) {
if (!bitmap || !cache_)
return;
« no previous file with comments | « chrome/browser/profiles/profile_avatar_downloader.h ('k') | chrome/browser/search/suggestions/image_fetcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698