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

Unified Diff: components/error_page/renderer/net_error_helper_core.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
Index: components/error_page/renderer/net_error_helper_core.cc
diff --git a/components/error_page/renderer/net_error_helper_core.cc b/components/error_page/renderer/net_error_helper_core.cc
index 9a92d742e6c40c2ca0eff58a64c0c39069189026..0c89ec3c29b04beb5059d8d43e37cd4df192d692 100644
--- a/components/error_page/renderer/net_error_helper_core.cc
+++ b/components/error_page/renderer/net_error_helper_core.cc
@@ -198,7 +198,7 @@ std::string CreateRequestBody(
request_dict.Set("params", params_dict.release());
std::string request_body;
- bool success = base::JSONWriter::Write(&request_dict, &request_body);
+ bool success = base::JSONWriter::Write(request_dict, &request_body);
DCHECK(success);
return request_body;
}
« no previous file with comments | « components/domain_reliability/context.cc ('k') | components/error_page/renderer/net_error_helper_core_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698