| Index: chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc
|
| diff --git a/chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc b/chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc
|
| index c6266a255f3cc2cab9e09c9489a20508c6a17fa1..c5e897f0e479731255cde3f10661f295705144df 100644
|
| --- a/chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc
|
| +++ b/chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc
|
| @@ -51,7 +51,7 @@ std::string CrxIdToHashToCrxId(const std::string& kCrxId) {
|
| return GetCrxComponentID(component);
|
| }
|
|
|
| -std::string JsonToString(const base::DictionaryValue* dict) {
|
| +std::string JsonToString(const base::DictionaryValue& dict) {
|
| std::string json;
|
| base::JSONWriter::Write(dict, &json);
|
| return json;
|
| @@ -310,8 +310,8 @@ TEST_F(SupervisedUserWhitelistInstallerTest, InstallNewWhitelist) {
|
| ASSERT_TRUE(base::ReadFileToString(whitelist_path_, &whitelist_contents));
|
| EXPECT_EQ(kWhitelistContents, whitelist_contents);
|
|
|
| - EXPECT_EQ(JsonToString(&pref_),
|
| - JsonToString(local_state_.GetDictionary(
|
| + EXPECT_EQ(JsonToString(pref_),
|
| + JsonToString(*local_state_.GetDictionary(
|
| prefs::kRegisteredSupervisedUserWhitelists)));
|
| }
|
|
|
|
|