Index: net/log/write_to_file_net_log_observer_unittest.cc |
diff --git a/net/log/write_to_file_net_log_observer_unittest.cc b/net/log/write_to_file_net_log_observer_unittest.cc |
index 06c2065e754daef93cce4db7ed8c2dddafed0c39..1f07c0ee952b808ef9b506d8d794cccf83009fdf 100644 |
--- a/net/log/write_to_file_net_log_observer_unittest.cc |
+++ b/net/log/write_to_file_net_log_observer_unittest.cc |
@@ -152,8 +152,7 @@ TEST_F(WriteToFileNetLogObserverTest, GeneratesValidJSONWithMultipleEvents) { |
TEST_F(WriteToFileNetLogObserverTest, CustomConstants) { |
const char kConstantString[] = "awesome constant"; |
- std::unique_ptr<base::Value> constants( |
- new base::StringValue(kConstantString)); |
+ std::unique_ptr<base::Value> constants(new base::Value(kConstantString)); |
base::ScopedFILE file(base::OpenFile(log_path_, "w")); |
ASSERT_TRUE(file); |
std::unique_ptr<WriteToFileNetLogObserver> logger( |