Index: chrome/browser/local_discovery/pwg_raster_converter.cc |
diff --git a/chrome/browser/local_discovery/pwg_raster_converter.cc b/chrome/browser/local_discovery/pwg_raster_converter.cc |
index e6109d0f33d1bfef30dc411f99e158d39a442c73..2ea9cab3e893751382857fe468559150dbc31e27 100644 |
--- a/chrome/browser/local_discovery/pwg_raster_converter.cc |
+++ b/chrome/browser/local_discovery/pwg_raster_converter.cc |
@@ -76,7 +76,7 @@ void FileHandlers::Init(base::RefCountedMemory* data) { |
if (static_cast<int>(data->size()) != |
file_util::WriteFile(GetPdfPath(), |
- reinterpret_cast<const char*>(data->front()), |
+ data->front_as<char>(), |
data->size())) { |
return; |
} |