Index: remoting/host/policy_watcher_unittest.cc |
diff --git a/remoting/host/policy_watcher_unittest.cc b/remoting/host/policy_watcher_unittest.cc |
index 1d683cbc51e66b31aed1e149e82655de1f5c3ddf..b9cbefd19d916f798ffabce6d7286b6a5d029fba 100644 |
--- a/remoting/host/policy_watcher_unittest.cc |
+++ b/remoting/host/policy_watcher_unittest.cc |
@@ -27,11 +27,11 @@ MATCHER_P(IsPolicies, dict, "") { |
if (!equal) { |
std::string actual_value; |
base::JSONWriter::WriteWithOptions( |
- arg, base::JSONWriter::OPTIONS_PRETTY_PRINT, &actual_value); |
+ *arg, base::JSONWriter::OPTIONS_PRETTY_PRINT, &actual_value); |
std::string expected_value; |
base::JSONWriter::WriteWithOptions( |
- dict, base::JSONWriter::OPTIONS_PRETTY_PRINT, &expected_value); |
+ *dict, base::JSONWriter::OPTIONS_PRETTY_PRINT, &expected_value); |
*result_listener << "Policies are not equal. "; |
*result_listener << "Expected policy: " << expected_value << ". "; |