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

Unified Diff: ios/chrome/browser/suggestions/image_fetcher_impl.mm

Issue 2677993002: Use IOSImageDataFetcherWrapper for favicon (Closed)
Patch Set: Created 3 years, 10 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: ios/chrome/browser/suggestions/image_fetcher_impl.mm
diff --git a/ios/chrome/browser/suggestions/image_fetcher_impl.mm b/ios/chrome/browser/suggestions/image_fetcher_impl.mm
index b351c30e83085fd179f1002dcad7c164b7e29143..2ddadd1c5665694873b21d833a6b8911c6634763 100644
--- a/ios/chrome/browser/suggestions/image_fetcher_impl.mm
+++ b/ios/chrome/browser/suggestions/image_fetcher_impl.mm
@@ -59,7 +59,7 @@ void ImageFetcherImpl::StartOrQueueNetworkRequest(
// If image_fetcher_ is destroyed the request will be cancelled and this block
// will never be called. A reference to delegate_ can be kept.
image_fetcher::IOSImageDataFetcherCallback fetcher_callback =
- ^(NSData* data) {
+ ^(int http_response_code, NSData* data) {
if (data) {
// Most likely always returns 1x images.
UIImage* ui_image = [UIImage imageWithData:data scale:1];

Powered by Google App Engine
This is Rietveld 408576698