Index: test/unittests/api/isolate-unittest.cc |
diff --git a/test/unittests/api/isolate-unittest.cc b/test/unittests/api/isolate-unittest.cc |
index ac1bca349e8e615f041f0a45619b6925b3a62843..5a7c8e0ceff861ffd2390b8685f12f3462f3914b 100644 |
--- a/test/unittests/api/isolate-unittest.cc |
+++ b/test/unittests/api/isolate-unittest.cc |
@@ -44,8 +44,6 @@ class MemoryPressureTask : public v8::Task { |
// Check that triggering a memory pressure notification on the isolate thread |
// doesn't request a GC interrupt. |
TEST_F(IsolateTest, MemoryPressureNotificationForeground) { |
- Isolate::Scope isolate_scope(isolate()); |
- |
internal::Isolate* i_isolate = |
reinterpret_cast<internal::Isolate*>(isolate()); |
@@ -57,8 +55,6 @@ TEST_F(IsolateTest, MemoryPressureNotificationForeground) { |
// Check that triggering a memory pressure notification on an background thread |
// requests a GC interrupt. |
TEST_F(IsolateTest, MemoryPressureNotificationBackground) { |
- Isolate::Scope isolate_scope(isolate()); |
- |
internal::Isolate* i_isolate = |
reinterpret_cast<internal::Isolate*>(isolate()); |