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

Unified Diff: chrome/browser/image_holder.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
« no previous file with comments | « chrome/browser/image_holder.h ('k') | chrome/browser/profiles/profile_avatar_downloader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/image_holder.cc
diff --git a/chrome/browser/image_holder.cc b/chrome/browser/image_holder.cc
index 960b057e75bd86bf67fc24df0af9125c45ac2303..852f670d3594e691d4ab91d87b044921ba21e1f7 100644
--- a/chrome/browser/image_holder.cc
+++ b/chrome/browser/image_holder.cc
@@ -77,7 +77,7 @@ void ImageHolder::StartFetch() {
}
// Method inherited from BitmapFetcher delegate.
-void ImageHolder::OnFetchComplete(const GURL url, const SkBitmap* bitmap) {
+void ImageHolder::OnFetchComplete(const GURL& url, const SkBitmap* bitmap) {
// TODO(petewil): Should I retry if a fetch fails?
// Match the bitmap to the URL to put it into the image with the correct scale
// factor.
« no previous file with comments | « chrome/browser/image_holder.h ('k') | chrome/browser/profiles/profile_avatar_downloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698