Index: chrome/browser/ui/webui/fileicon_source.cc |
diff --git a/chrome/browser/ui/webui/fileicon_source.cc b/chrome/browser/ui/webui/fileicon_source.cc |
index 94301af646efb87ffc6838a1b82c4846883a44dc..cd5d93618157485af8ed65a586f5031e2726cd26 100644 |
--- a/chrome/browser/ui/webui/fileicon_source.cc |
+++ b/chrome/browser/ui/webui/fileicon_source.cc |
@@ -45,7 +45,7 @@ void FileIconSource::StartDataRequest(const std::string& path, |
if (icon) { |
scoped_refptr<RefCountedBytes> icon_data(new RefCountedBytes); |
- gfx::PNGCodec::EncodeBGRASkBitmap(*icon, false, &icon_data->data); |
+ gfx::PNGCodec::EncodeBGRASkBitmap(*icon, false, &icon_data->data()); |
SendResponse(request_id, icon_data); |
} else { |
@@ -72,7 +72,7 @@ void FileIconSource::OnFileIconDataAvailable(IconManager::Handle handle, |
if (icon) { |
scoped_refptr<RefCountedBytes> icon_data(new RefCountedBytes); |
- gfx::PNGCodec::EncodeBGRASkBitmap(*icon, false, &icon_data->data); |
+ gfx::PNGCodec::EncodeBGRASkBitmap(*icon, false, &icon_data->data()); |
SendResponse(request_id, icon_data); |
} else { |