Index: test/cctest/test-date.cc |
diff --git a/test/cctest/test-date.cc b/test/cctest/test-date.cc |
index f2187955add6955bef9b582e690db248836f155e..2f722c2baf841f393f333fa1e87109b079446ddf 100644 |
--- a/test/cctest/test-date.cc |
+++ b/test/cctest/test-date.cc |
@@ -132,7 +132,7 @@ TEST(DaylightSavingsTime) { |
int local_offset_ms = -36000000; // -10 hours. |
DateCacheMock* date_cache = |
- new DateCacheMock(local_offset_ms, rules, ARRAY_SIZE(rules)); |
+ new DateCacheMock(local_offset_ms, rules, arraysize(rules)); |
reinterpret_cast<Isolate*>(isolate)->set_date_cache(date_cache); |