| Index: cloud_print/gcp20/prototype/printer_state.cc
|
| diff --git a/cloud_print/gcp20/prototype/printer_state.cc b/cloud_print/gcp20/prototype/printer_state.cc
|
| index 0e12eee0da2e397fe6e1d71419737bdfcee102f6..17ccb6c7df3c64f53a7c83b292265437a486233a 100644
|
| --- a/cloud_print/gcp20/prototype/printer_state.cc
|
| +++ b/cloud_print/gcp20/prototype/printer_state.cc
|
| @@ -75,7 +75,7 @@ bool SaveToFile(const base::FilePath& path, const PrinterState& state) {
|
| base::JSONWriter::OPTIONS_PRETTY_PRINT,
|
| &json_str);
|
| int size = base::checked_cast<int>(json_str.size());
|
| - return (file_util::WriteFile(path, json_str.data(), size) == size);
|
| + return (base::WriteFile(path, json_str.data(), size) == size);
|
| }
|
|
|
| bool LoadFromFile(const base::FilePath& path, PrinterState* state) {
|
|
|