Index: test/cctest/test-date.cc |
diff --git a/test/cctest/test-date.cc b/test/cctest/test-date.cc |
index 6336481dccc2af03f1f62c97963581a9ac50e98b..460c07e5aaad938fc1fc000cff08b7263c185ecf 100644 |
--- a/test/cctest/test-date.cc |
+++ b/test/cctest/test-date.cc |
@@ -109,7 +109,7 @@ static int64_t TimeFromYearMonthDay(DateCache* date_cache, |
static void CheckDST(int64_t time) { |
- Isolate* isolate = Isolate::Current(); |
+ Isolate* isolate = CcTest::i_isolate(); |
DateCache* date_cache = isolate->date_cache(); |
int64_t actual = date_cache->ToLocal(time); |
int64_t expected = time + date_cache->GetLocalOffsetFromOS() + |