Index: test/cctest/test-object-observe.cc |
diff --git a/test/cctest/test-object-observe.cc b/test/cctest/test-object-observe.cc |
index 319dadd67cb6d2dca1349e4e0b8f1b4d5bd441d0..679569e27c16e9843c85b3fd881bee9107b2a170 100644 |
--- a/test/cctest/test-object-observe.cc |
+++ b/test/cctest/test-object-observe.cc |
@@ -658,7 +658,7 @@ TEST(DontLeakContextOnObserve) { |
"Object.unobserve(obj, observer);"); |
} |
- v8::V8::ContextDisposedNotification(); |
+ CcTest::isolate()->ContextDisposedNotification(); |
CheckSurvivingGlobalObjectsCount(1); |
} |
@@ -679,7 +679,7 @@ TEST(DontLeakContextOnGetNotifier) { |
CompileRun("Object.getNotifier(obj);"); |
} |
- v8::V8::ContextDisposedNotification(); |
+ CcTest::isolate()->ContextDisposedNotification(); |
CheckSurvivingGlobalObjectsCount(1); |
} |
@@ -706,6 +706,6 @@ TEST(DontLeakContextOnNotifierPerformChange) { |
"notifier, 'foo', function(){})"); |
} |
- v8::V8::ContextDisposedNotification(); |
+ CcTest::isolate()->ContextDisposedNotification(); |
CheckSurvivingGlobalObjectsCount(1); |
} |