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 9dedf1d529adbdae503137064df4d6c466c354e4..0d8feadb651b75e9ab53336dec68e35a9137d571 100644 |
--- a/cloud_print/gcp20/prototype/printer_state.cc |
+++ b/cloud_print/gcp20/prototype/printer_state.cc |
@@ -71,7 +71,7 @@ bool SaveToFile(const base::FilePath& path, const PrinterState& state) { |
json.Set(kCdd, state.cdd->DeepCopy()); |
std::string json_str; |
- base::JSONWriter::WriteWithOptions(&json, |
+ base::JSONWriter::WriteWithOptions(json, |
base::JSONWriter::OPTIONS_PRETTY_PRINT, |
&json_str); |
int size = base::checked_cast<int>(json_str.size()); |