Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(839)

Unified Diff: content/browser/indexed_db/indexed_db_backing_store.cc

Issue 1131113004: Convert JsonWriter::Write to taking a const ref for the in-param (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix platform specific stuff Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/indexed_db/indexed_db_backing_store.cc
diff --git a/content/browser/indexed_db/indexed_db_backing_store.cc b/content/browser/indexed_db/indexed_db_backing_store.cc
index 5000e507fbbc971af60c28c17c1c8f134aca4a19..a9ad9daf579682a7066a787e98f03bb049c82e9c 100644
--- a/content/browser/indexed_db/indexed_db_backing_store.cc
+++ b/content/browser/indexed_db/indexed_db_backing_store.cc
@@ -958,7 +958,7 @@ bool IndexedDBBackingStore::RecordCorruptionInfo(
base::DictionaryValue root_dict;
root_dict.SetString("message", message);
std::string output_js;
- base::JSONWriter::Write(&root_dict, &output_js);
+ base::JSONWriter::Write(root_dict, &output_js);
base::File file(info_path,
base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE);

Powered by Google App Engine
This is Rietveld 408576698