Index: mojo/public/cpp/bindings/tests/type_conversion_unittest.cc |
diff --git a/mojo/public/cpp/bindings/tests/type_conversion_unittest.cc b/mojo/public/cpp/bindings/tests/type_conversion_unittest.cc |
index 776ac14bfeac37ab4dcdba5341ddeada9569ba4d..328f5b783feb1aecd4221ec0ee7fc2a8b3e3bb3f 100644 |
--- a/mojo/public/cpp/bindings/tests/type_conversion_unittest.cc |
+++ b/mojo/public/cpp/bindings/tests/type_conversion_unittest.cc |
@@ -158,7 +158,7 @@ TEST(TypeConversionTest, CustomTypeConverter_Array_Null) { |
TEST(TypeConversionTest, CustomTypeConverter_Array) { |
const RedmondRect kBase = {10, 20, 30, 40}; |
- Array<RectPtr> rects(10); |
+ auto rects = Array<RectPtr>::New(10); |
for (size_t i = 0; i < rects.size(); ++i) { |
RedmondRect rr = kBase; |
rr.left += static_cast<int32_t>(i); |