summaryrefslogtreecommitdiffstats
path: root/base/values_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/values_unittest.cc')
-rw-r--r--base/values_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/values_unittest.cc b/base/values_unittest.cc
index bad83fa..98bc73c 100644
--- a/base/values_unittest.cc
+++ b/base/values_unittest.cc
@@ -599,7 +599,7 @@ TEST(ValuesTest, RemoveEmptyChildren) {
// Make sure we don't prune too much.
root->SetBoolean("bool", true);
root->Set("empty_dict", new DictionaryValue);
- root->SetString("empty_string", std::string());
+ root->SetString("empty_string", "");
root.reset(root->DeepCopyWithoutEmptyChildren());
EXPECT_EQ(2U, root->size());