| Index: chrome/browser/content_settings/host_content_settings_map_unittest.cc
|
| diff --git a/chrome/browser/content_settings/host_content_settings_map_unittest.cc b/chrome/browser/content_settings/host_content_settings_map_unittest.cc
|
| index ac059affaf9e221c2ceaca73cf6fd80955ee183c..310f13ee6763c00043023256bd59e05f11afa258 100644
|
| --- a/chrome/browser/content_settings/host_content_settings_map_unittest.cc
|
| +++ b/chrome/browser/content_settings/host_content_settings_map_unittest.cc
|
| @@ -759,7 +759,7 @@ TEST_F(HostContentSettingsMapTest, CanonicalizeExceptionsUnicodeAndPunycode) {
|
| const DictionaryValue* content_setting_prefs =
|
| profile.GetPrefs()->GetDictionary(prefs::kContentSettingsPatternPairs);
|
| std::string prefs_as_json;
|
| - base::JSONWriter::Write(content_setting_prefs, false, &prefs_as_json);
|
| + base::JSONWriter::Write(content_setting_prefs, &prefs_as_json);
|
| EXPECT_STREQ("{\"[*.]xn--ira-ppa.com,*\":{\"images\":2}}",
|
| prefs_as_json.c_str());
|
| }
|
| @@ -844,7 +844,7 @@ TEST_F(HostContentSettingsMapTest, ResourceIdentifierPrefs) {
|
| const DictionaryValue* content_setting_prefs =
|
| profile.GetPrefs()->GetDictionary(prefs::kContentSettingsPatternPairs);
|
| std::string prefs_as_json;
|
| - base::JSONWriter::Write(content_setting_prefs, false, &prefs_as_json);
|
| + base::JSONWriter::Write(content_setting_prefs, &prefs_as_json);
|
| EXPECT_EQ("{}", prefs_as_json);
|
|
|
| host_content_settings_map->SetContentSetting(
|
| @@ -856,7 +856,7 @@ TEST_F(HostContentSettingsMapTest, ResourceIdentifierPrefs) {
|
|
|
| content_setting_prefs =
|
| profile.GetPrefs()->GetDictionary(prefs::kContentSettingsPatternPairs);
|
| - base::JSONWriter::Write(content_setting_prefs, false, &prefs_as_json);
|
| + base::JSONWriter::Write(content_setting_prefs, &prefs_as_json);
|
| EXPECT_EQ("{\"[*.]example.com,*\":{\"per_plugin\":{\"otherplugin\":2}}}",
|
| prefs_as_json);
|
| }
|
|
|