summaryrefslogtreecommitdiffstats
path: root/chrome/service/service_process_prefs_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/service/service_process_prefs_unittest.cc')
-rw-r--r--chrome/service/service_process_prefs_unittest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/service/service_process_prefs_unittest.cc b/chrome/service/service_process_prefs_unittest.cc
index 3d7ae1f..5d68ab3 100644
--- a/chrome/service/service_process_prefs_unittest.cc
+++ b/chrome/service/service_process_prefs_unittest.cc
@@ -39,8 +39,9 @@ TEST_F(ServiceProcessPrefsTest, RetrievePrefs) {
prefs_->WritePrefs();
message_loop_.RunUntilIdle();
prefs_->SetBoolean("testb", false); // overwrite
- prefs_->SetString("tests", std::string()); // overwrite
+ prefs_->SetString("tests", ""); // overwrite
prefs_->ReadPrefs();
EXPECT_EQ(prefs_->GetBoolean("testb", false), true);
- EXPECT_EQ(prefs_->GetString("tests", std::string()), "testvalue");
+ EXPECT_EQ(prefs_->GetString("tests", ""), "testvalue");
}
+