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..b668a7c9663fe78c71173dbce6bab034d729d9c5 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); |
+ history::FaviconDataElement element = favicon_data.elements[0]; |
+ SendResponse(request_id, element.bitmap_data); |
} else { |
SendDefaultResponse(request_id); |
} |