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

Unified Diff: chrome/browser/download/download_extension_api.cc

Issue 9590002: JSONWriter cleanup: integrate pretty print into write options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflict 7. Created 8 years, 9 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: chrome/browser/download/download_extension_api.cc
diff --git a/chrome/browser/download/download_extension_api.cc b/chrome/browser/download/download_extension_api.cc
index 7b951ea3c463c2828a063c86bdd8963660f91067..264ab0d8d3c113d884dd5573ec0ecf82c5c646be 100644
--- a/chrome/browser/download/download_extension_api.cc
+++ b/chrome/browser/download/download_extension_api.cc
@@ -1066,7 +1066,7 @@ void ExtensionDownloadsEventRouter::DispatchEvent(
ListValue args;
args.Append(arg);
std::string json_args;
- base::JSONWriter::Write(&args, false, &json_args);
+ base::JSONWriter::Write(&args, &json_args);
profile_->GetExtensionEventRouter()->DispatchEventToRenderers(
event_name,
json_args,
« no previous file with comments | « chrome/browser/debugger/devtools_window.cc ('k') | chrome/browser/extensions/api/api_resource_event_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698