Index: base/prefs/pref_service_unittest.cc |
diff --git a/base/prefs/pref_service_unittest.cc b/base/prefs/pref_service_unittest.cc |
index 26fe19a8699d7f41e9848f004f303cab5a4609ae..927f2f7779f8cf7869301a2ee51731e6b6c9b816 100644 |
--- a/base/prefs/pref_service_unittest.cc |
+++ b/base/prefs/pref_service_unittest.cc |
@@ -45,7 +45,7 @@ TEST(PrefServiceTest, NoObserverFire) { |
Mock::VerifyAndClearExpectations(&obs); |
// Clearing the pref should cause the pref to fire. |
- const StringValue expected_default_value(""); |
+ const StringValue expected_default_value((std::string())); |
obs.Expect(pref_name, &expected_default_value); |
prefs.ClearPref(pref_name); |
Mock::VerifyAndClearExpectations(&obs); |