Index: chrome/browser/ui/libgtk2ui/app_indicator_icon.cc |
diff --git a/chrome/browser/ui/libgtk2ui/app_indicator_icon.cc b/chrome/browser/ui/libgtk2ui/app_indicator_icon.cc |
index 53b951c5bed6ed3551bbd51976463530c14bdf7a..097a8fcfd7f68194099a32aa509ca48582a12c4e 100644 |
--- a/chrome/browser/ui/libgtk2ui/app_indicator_icon.cc |
+++ b/chrome/browser/ui/libgtk2ui/app_indicator_icon.cc |
@@ -145,7 +145,7 @@ base::FilePath CreateTempImageFile(gfx::ImageSkia* image_ptr, |
temp_dir.Append(id + base::StringPrintf("_%d.png", icon_change_count)); |
int bytes_written = |
file_util::WriteFile(new_file_path, |
- reinterpret_cast<const char*>(png_data->front()), |
+ png_data->front_as<char>(), |
png_data->size()); |
if (bytes_written != static_cast<int>(png_data->size())) |