Index: chrome/browser/content_settings/content_settings_pref_provider_unittest.cc |
diff --git a/chrome/browser/content_settings/content_settings_pref_provider_unittest.cc b/chrome/browser/content_settings/content_settings_pref_provider_unittest.cc |
index 35aba5250ea6151541522add1e1e733eefba5c3a..a59763fa7bc83107b88ab7ddd24bd217f7ed07a7 100644 |
--- a/chrome/browser/content_settings/content_settings_pref_provider_unittest.cc |
+++ b/chrome/browser/content_settings/content_settings_pref_provider_unittest.cc |
@@ -449,8 +449,8 @@ TEST_F(PrefProviderTest, Deadlock) { |
{ |
DictionaryPrefUpdate update(&prefs, info->pref_name()); |
base::DictionaryValue* mutable_settings = update.Get(); |
- mutable_settings->SetWithoutPathExpansion("www.example.com,*", |
- new base::DictionaryValue()); |
+ mutable_settings->SetWithoutPathExpansion( |
+ "www.example.com,*", base::MakeUnique<base::DictionaryValue>()); |
} |
EXPECT_TRUE(observer.notification_received()); |