Index: test/cctest/test-symbols.cc |
diff --git a/test/cctest/test-symbols.cc b/test/cctest/test-symbols.cc |
index e9534574255dc00517c7764b11bb6aca4b87f5f8..6a8323bea4ace612ebd453d0569f942677b065cd 100644 |
--- a/test/cctest/test-symbols.cc |
+++ b/test/cctest/test-symbols.cc |
@@ -12,20 +12,9 @@ |
using namespace v8::internal; |
-static v8::Persistent<v8::Context> env; |
- |
-static void InitializeVM() { |
- if (env.IsEmpty()) { |
- const char* extensions[] = { "v8/print" }; |
- v8::ExtensionConfiguration config(1, extensions); |
- env = v8::Context::New(&config); |
- } |
- env->Enter(); |
-} |
- |
TEST(Create) { |
- InitializeVM(); |
+ CcTest::InitializeVM(); |
Isolate* isolate = Isolate::Current(); |
HandleScope scope(isolate); |