| 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 0f39430ba201d7f90f4439e64ab0a3fc6e3db5cc..b912f382bd8bbca142960ea93d8b1419f7bc1ce9 100644
|
| --- a/chrome/browser/local_discovery/pwg_raster_converter.cc
|
| +++ b/chrome/browser/local_discovery/pwg_raster_converter.cc
|
| @@ -76,9 +76,8 @@ void FileHandlers::Init(base::RefCountedMemory* data) {
|
| // Reopen in read only mode.
|
| pdf_file_.Initialize(GetPdfPath(),
|
| base::File::FLAG_OPEN | base::File::FLAG_READ);
|
| - pwg_file_.Initialize(
|
| - GetPwgPath(),
|
| - base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_APPEND);
|
| + pwg_file_.Initialize(GetPwgPath(),
|
| + base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE);
|
| }
|
|
|
| bool FileHandlers::IsValid() {
|
|
|