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

Unified Diff: chrome/browser/caps/generate_state_json.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: another rebase 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
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | chrome/browser/chromeos/app_mode/kiosk_app_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/caps/generate_state_json.cc
diff --git a/chrome/browser/caps/generate_state_json.cc b/chrome/browser/caps/generate_state_json.cc
index 3857d27a2477be44095046ace8f8f744ea82f562..41a2a5dea51e21300d63715927c4526d2e33351b 100644
--- a/chrome/browser/caps/generate_state_json.cc
+++ b/chrome/browser/caps/generate_state_json.cc
@@ -90,7 +90,7 @@ class TaskManagerDataDumper :
std::string json;
auto options = base::JSONWriter::OPTIONS_PRETTY_PRINT;
- if (!base::JSONWriter::WriteWithOptions(&dict, options, &json))
+ if (!base::JSONWriter::WriteWithOptions(dict, options, &json))
return;
file_.WriteAtCurrentPos(json.c_str(), json.size());
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | chrome/browser/chromeos/app_mode/kiosk_app_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698