Index: test/unittests/test-utils.h |
diff --git a/test/unittests/test-utils.h b/test/unittests/test-utils.h |
index ca7efc2a41c30d179a51b2824bdf784afa4046a2..034fbe6bcb7def5c49d79ac0c29a8a0d25422836 100644 |
--- a/test/unittests/test-utils.h |
+++ b/test/unittests/test-utils.h |
@@ -24,6 +24,10 @@ class TestWithIsolate : public virtual ::testing::Test { |
Isolate* isolate() const { return isolate_; } |
+ v8::internal::Isolate* i_isolate() const { |
+ return reinterpret_cast<v8::internal::Isolate*>(isolate()); |
+ } |
+ |
static void SetUpTestCase(); |
static void TearDownTestCase(); |
@@ -44,10 +48,6 @@ class TestWithContext : public virtual TestWithIsolate { |
const Local<Context>& context() const { return context_; } |
- v8::internal::Isolate* i_isolate() const { |
- return reinterpret_cast<v8::internal::Isolate*>(isolate()); |
- } |
- |
private: |
Local<Context> context_; |
Context::Scope context_scope_; |