Index: chrome/browser/shell_integration_linux.cc |
diff --git a/chrome/browser/shell_integration_linux.cc b/chrome/browser/shell_integration_linux.cc |
index ebf7368bddabaaf98465d48ec71c576d5f2273a3..1677d20fab3b5c6634c42e856bd5d18db03a3049 100644 |
--- a/chrome/browser/shell_integration_linux.cc |
+++ b/chrome/browser/shell_integration_linux.cc |
@@ -104,7 +104,8 @@ std::string CreateShortcutIcon(const gfx::ImageFamily& icon_images, |
continue; |
} |
int bytes_written = file_util::WriteFile(temp_file_path, |
- reinterpret_cast<const char*>(png_data->front()), png_data->size()); |
+ png_data->front_as<char>(), |
+ png_data->size()); |
if (bytes_written != static_cast<int>(png_data->size())) |
return std::string(); |