Index: test/cctest/test-log.cc |
diff --git a/test/cctest/test-log.cc b/test/cctest/test-log.cc |
index b49bb828e27d04b0b4959ffbbe6a5808ac52ea4d..3288fc8a61bb51f4bb7cb850c1450d7d35c2539f 100644 |
--- a/test/cctest/test-log.cc |
+++ b/test/cctest/test-log.cc |
@@ -67,7 +67,7 @@ class ScopedLoggerInitializer { |
// Need to run this prior to creating the scope. |
trick_to_run_init_flags_(init_flags_(prof_lazy)), |
scope_(v8::Isolate::GetCurrent()), |
- env_(*v8::Context::New()), |
+ env_(v8::Context::New(v8::Isolate::GetCurrent())), |
logger_(i::Isolate::Current()->logger()) { |
env_->Enter(); |
} |