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

Unified Diff: chrome/service/cloud_print/print_system_win.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 | « chrome/renderer/net/net_error_helper.cc ('k') | chrome/test/chromedriver/chrome/console_logger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/print_system_win.cc
diff --git a/chrome/service/cloud_print/print_system_win.cc b/chrome/service/cloud_print/print_system_win.cc
index ac090c2bf0ff6142eb3319906b43eb858a8f6ad2..550a56338d413eeea337d36bc99f12082470858d 100644
--- a/chrome/service/cloud_print/print_system_win.cc
+++ b/chrome/service/cloud_print/print_system_win.cc
@@ -545,7 +545,7 @@ class PrinterCapsHandler : public ServiceUtilityProcessHost::Client {
PrinterSemanticCapsAndDefaultsToCdd(semantic_info));
if (description) {
base::JSONWriter::WriteWithOptions(
- description.get(), base::JSONWriter::OPTIONS_PRETTY_PRINT,
+ *description, base::JSONWriter::OPTIONS_PRETTY_PRINT,
&printer_info.printer_capabilities);
}
}
« no previous file with comments | « chrome/renderer/net/net_error_helper.cc ('k') | chrome/test/chromedriver/chrome/console_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698