| Index: test/cctest/test-log-stack-tracer.cc
 | 
| diff --git a/test/cctest/test-log-stack-tracer.cc b/test/cctest/test-log-stack-tracer.cc
 | 
| index 8fe69168f7e29afd2a1c98d75aa4d12d492e677d..c27d5b87e29b548ca079447ef1f76185404974f2 100644
 | 
| --- a/test/cctest/test-log-stack-tracer.cc
 | 
| +++ b/test/cctest/test-log-stack-tracer.cc
 | 
| @@ -172,7 +172,7 @@ v8::Handle<v8::Value> TraceExtension::JSEntrySP(const v8::Arguments& args) {
 | 
|  
 | 
|  v8::Handle<v8::Value> TraceExtension::JSEntrySPLevel2(
 | 
|      const v8::Arguments& args) {
 | 
| -  v8::HandleScope scope;
 | 
| +  v8::HandleScope scope(args.GetIsolate());
 | 
|    const Address js_entry_sp = GetJsEntrySp();
 | 
|    CHECK_NE(0, js_entry_sp);
 | 
|    CompileRun("js_entry_sp();");
 | 
| @@ -187,12 +187,10 @@ v8::DeclareExtension kTraceExtensionDeclaration(&kTraceExtension);
 | 
|  
 | 
|  static void InitializeVM() {
 | 
|    if (env.IsEmpty()) {
 | 
| -    v8::HandleScope scope;
 | 
|      const char* extensions[] = { "v8/trace" };
 | 
|      v8::ExtensionConfiguration config(1, extensions);
 | 
|      env = v8::Context::New(&config);
 | 
|    }
 | 
| -  v8::HandleScope scope;
 | 
|    env->Enter();
 | 
|  }
 | 
|  
 | 
| @@ -283,7 +281,7 @@ TEST(CFromJSStackTrace) {
 | 
|    InitTraceEnv(&sample);
 | 
|  
 | 
|    InitializeVM();
 | 
| -  v8::HandleScope scope;
 | 
| +  v8::HandleScope scope(env->GetIsolate());
 | 
|    // Create global function JSFuncDoTrace which calls
 | 
|    // extension function trace() with the current frame pointer value.
 | 
|    CreateTraceCallerFunction("JSFuncDoTrace", "trace");
 | 
| @@ -328,7 +326,7 @@ TEST(PureJSStackTrace) {
 | 
|    InitTraceEnv(&sample);
 | 
|  
 | 
|    InitializeVM();
 | 
| -  v8::HandleScope scope;
 | 
| +  v8::HandleScope scope(env->GetIsolate());
 | 
|    // Create global function JSFuncDoTrace which calls
 | 
|    // extension function js_trace() with the current frame pointer value.
 | 
|    CreateTraceCallerFunction("JSFuncDoTrace", "js_trace");
 | 
| @@ -402,7 +400,7 @@ TEST(PureCStackTrace) {
 | 
|  
 | 
|  TEST(JsEntrySp) {
 | 
|    InitializeVM();
 | 
| -  v8::HandleScope scope;
 | 
| +  v8::HandleScope scope(env->GetIsolate());
 | 
|    CHECK_EQ(0, GetJsEntrySp());
 | 
|    CompileRun("a = 1; b = a + 1;");
 | 
|    CHECK_EQ(0, GetJsEntrySp());
 | 
| 
 |