Index: components/favicon/ios/web_favicon_driver.mm |
diff --git a/components/favicon/ios/web_favicon_driver.mm b/components/favicon/ios/web_favicon_driver.mm |
index 47011b046cd86aad4d13143289030a2cd3b2e381..500a5f4c435bd145ec08900747301fe90d606aa2 100644 |
--- a/components/favicon/ios/web_favicon_driver.mm |
+++ b/components/favicon/ios/web_favicon_driver.mm |
@@ -77,8 +77,8 @@ int WebFaviconDriver::DownloadImage(const GURL& url, |
image_fetcher::IOSImageDataFetcherCallback local_callback = |
^(NSData* data, const image_fetcher::RequestMetadata& metadata) { |
- if (metadata.response_code == |
- image_fetcher::ImageDataFetcher::RESPONSE_CODE_INVALID) |
+ if (metadata.http_response_code == |
+ image_fetcher::RequestMetadata::RESPONSE_CODE_INVALID) |
return; |
std::vector<SkBitmap> frames; |
@@ -89,7 +89,7 @@ int WebFaviconDriver::DownloadImage(const GURL& url, |
sizes.push_back(gfx::Size(frame.width(), frame.height())); |
} |
} |
- callback.Run(local_download_id, metadata.response_code, local_url, |
+ callback.Run(local_download_id, metadata.http_response_code, local_url, |
frames, sizes); |
}; |
image_fetcher_.FetchImageDataWebpDecoded(url, local_callback); |