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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_handler_unittest.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
« no previous file with comments | « chrome/browser/ui/webui/about_ui.cc ('k') | chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/print_preview/print_preview_handler_unittest.cc
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler_unittest.cc b/chrome/browser/ui/webui/print_preview/print_preview_handler_unittest.cc
index e300d45ca47658c8cba2086b5f837fec3d995a4b..74af0a376edeba2b66fb39eb8020ed44613cd9bd 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler_unittest.cc
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler_unittest.cc
@@ -130,7 +130,7 @@ class PrintPreviewHandlerTest : public PrintPreviewUnitTestBase {
// Put |settings| in to |args| as a JSON string.
std::string json_string;
- base::JSONWriter::Write(&settings, false, &json_string);
+ base::JSONWriter::Write(&settings, &json_string);
ListValue args;
args.Append(new base::StringValue(json_string)); // |args| takes ownership.
preview_ui_->handler_->HandlePrint(&args);
@@ -155,7 +155,7 @@ class PrintPreviewHandlerTest : public PrintPreviewUnitTestBase {
// Put |settings| in to |args| as a JSON string.
std::string json_string;
- base::JSONWriter::Write(&settings, false, &json_string);
+ base::JSONWriter::Write(&settings, &json_string);
ListValue args;
args.Append(new base::StringValue(json_string)); // |args| takes ownership.
preview_ui_->handler_->HandlePrint(&args);
« no previous file with comments | « chrome/browser/ui/webui/about_ui.cc ('k') | chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698