Index: services/js/system/tests/js_to_cpp_tests.cc |
diff --git a/services/js/system/tests/js_to_cpp_tests.cc b/services/js/system/tests/js_to_cpp_tests.cc |
index cc707c8f9c2f7500cd23eb1207b69c48a61dc7fa..50f01f67a1134419a4be252ba54b59413791958a 100644 |
--- a/services/js/system/tests/js_to_cpp_tests.cc |
+++ b/services/js/system/tests/js_to_cpp_tests.cc |
@@ -93,7 +93,7 @@ js_to_cpp::EchoArgsPtr BuildSampleEchoArgs() { |
args->double_inf = kExpectedDoubleInf; |
args->double_nan = kExpectedDoubleNan; |
args->name = "coming"; |
- Array<String> string_array(3); |
+ auto string_array = Array<String>::New(3); |
string_array[0] = "one"; |
string_array[1] = "two"; |
string_array[2] = "three"; |