Index: chrome/browser/ui/webui/favicon_source.cc |
diff --git a/chrome/browser/ui/webui/favicon_source.cc b/chrome/browser/ui/webui/favicon_source.cc |
index 6fa19b982547b19246e354b75f30310571128f2b..d7fd6b1603effd830211b65e053af930092454ec 100644 |
--- a/chrome/browser/ui/webui/favicon_source.cc |
+++ b/chrome/browser/ui/webui/favicon_source.cc |
@@ -130,15 +130,16 @@ bool FaviconSource::ShouldReplaceExistingSource() const { |
void FaviconSource::OnFaviconDataAvailable( |
FaviconService::Handle request_handle, |
- history::FaviconData favicon) { |
+ history::FaviconData favicon_data) { |
FaviconService* favicon_service = |
profile_->GetFaviconService(Profile::EXPLICIT_ACCESS); |
int request_id = cancelable_consumer_.GetClientData(favicon_service, |
request_handle); |
- if (favicon.is_valid()) { |
+ if (favicon_data.is_valid()) { |
// Forward the data along to the networking system. |
- SendResponse(request_id, favicon.image_data); |
+ const history::FaviconDataElement& element = favicon_data.elements[0]; |
+ SendResponse(request_id, element.bitmap_data); |
} else { |
SendDefaultResponse(request_id); |
} |