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: 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: fix platform specific stuff 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 8a9977c5b27ec4ec05c8916f3cb2eeb21b6f459c..9f6bb2260a15208882b86ff6872210680572b65d 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;
}

Powered by Google App Engine
This is Rietveld 408576698