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

Unified Diff: net/log/test_net_log_entry.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: net/log/test_net_log_entry.cc
diff --git a/net/log/test_net_log_entry.cc b/net/log/test_net_log_entry.cc
index d22515f180c917aa27a9c3af2aa7ddbdaa9371a2..0fd3fc32596da54cddc8045ca5ac6796db85ebd7 100644
--- a/net/log/test_net_log_entry.cc
+++ b/net/log/test_net_log_entry.cc
@@ -69,7 +69,7 @@ std::string TestNetLogEntry::GetParamsJson() const {
if (!params)
return std::string();
std::string json;
- base::JSONWriter::Write(params.get(), &json);
+ base::JSONWriter::Write(*params, &json);
return json;
}

Powered by Google App Engine
This is Rietveld 408576698