summaryrefslogtreecommitdiffstats
path: root/base/json/json_value_serializer_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/json/json_value_serializer_unittest.cc')
-rw-r--r--base/json/json_value_serializer_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/json/json_value_serializer_unittest.cc b/base/json/json_value_serializer_unittest.cc
index e510500..9df0435 100644
--- a/base/json/json_value_serializer_unittest.cc
+++ b/base/json/json_value_serializer_unittest.cc
@@ -196,7 +196,7 @@ TEST(JSONValueSerializerTest, Roundtrip) {
// initialized with a const string.
ASSERT_FALSE(serializer.Serialize(*root_dict));
- std::string test_serialization = "";
+ std::string test_serialization;
JSONStringValueSerializer mutable_serializer(&test_serialization);
ASSERT_TRUE(mutable_serializer.Serialize(*root_dict));
ASSERT_EQ(original_serialization, test_serialization);