Index: content/child/v8_value_converter_impl_unittest.cc |
diff --git a/content/child/v8_value_converter_impl_unittest.cc b/content/child/v8_value_converter_impl_unittest.cc |
index 43b654df1fcbd80b862fb4b4cb6799a065b4bdf5..78b377a3a6df354a11b6819a39591faef0b35b14 100644 |
--- a/content/child/v8_value_converter_impl_unittest.cc |
+++ b/content/child/v8_value_converter_impl_unittest.cc |
@@ -568,7 +568,7 @@ TEST_F(V8ValueConverterImplTest, ArrayPrototypeSetter) { |
// Try again, using an array without the index. |
base::ListValue one_item_list; |
- one_item_list.Append(new base::FundamentalValue(123456)); |
+ one_item_list.AppendInteger(123456); |
v8::Local<v8::Array> converted2 = |
converter.ToV8Value(&one_item_list, context).As<v8::Array>(); |
EXPECT_FALSE(converted2.IsEmpty()); |