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

Unified Diff: components/policy/core/common/policy_loader_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
Index: components/policy/core/common/policy_loader_win.cc
diff --git a/components/policy/core/common/policy_loader_win.cc b/components/policy/core/common/policy_loader_win.cc
index f223da5e9d3cb7776a620f20f51e5fb040a0ae84..f49f944e96c406ac3448e7adcb9d4dd8b1a3e602 100644
--- a/components/policy/core/common/policy_loader_win.cc
+++ b/components/policy/core/common/policy_loader_win.cc
@@ -128,7 +128,7 @@ std::string PatchSchema(const std::string& schema) {
}
std::string serialized;
- base::JSONWriter::Write(json.get(), &serialized);
+ base::JSONWriter::Write(*json, &serialized);
return serialized;
}

Powered by Google App Engine
This is Rietveld 408576698