| Index: components/policy/core/common/policy_test_utils.cc
|
| diff --git a/components/policy/core/common/policy_test_utils.cc b/components/policy/core/common/policy_test_utils.cc
|
| index 79180e41c288cd34c837a1daf7ece3f486ee9bd0..e9116b768769cb49e4e449367646d2239ce72881 100644
|
| --- a/components/policy/core/common/policy_test_utils.cc
|
| +++ b/components/policy/core/common/policy_test_utils.cc
|
| @@ -222,9 +222,8 @@ std::ostream& operator<<(std::ostream& os, const policy::PolicyMap& policies) {
|
|
|
| std::ostream& operator<<(std::ostream& os, const policy::PolicyMap::Entry& e) {
|
| std::string value;
|
| - base::JSONWriter::WriteWithOptions(e.value,
|
| - base::JSONWriter::OPTIONS_PRETTY_PRINT,
|
| - &value);
|
| + base::JSONWriter::WriteWithOptions(
|
| + *e.value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &value);
|
| os << "{" << std::endl
|
| << " \"level\": " << e.level << "," << std::endl
|
| << " \"scope\": " << e.scope << "," << std::endl
|
|
|