| Index: Source/bindings/v8/V8PerContextData.cpp
|
| diff --git a/Source/bindings/v8/V8PerContextData.cpp b/Source/bindings/v8/V8PerContextData.cpp
|
| index 8f043a9e986834903bd43ad30fbe1cc858aff29b..ab0f66205ad442ebf928049ca066239f146556d1 100644
|
| --- a/Source/bindings/v8/V8PerContextData.cpp
|
| +++ b/Source/bindings/v8/V8PerContextData.cpp
|
| @@ -195,7 +195,7 @@ bool V8PerContextDebugData::setContextDebugData(v8::Handle<v8::Context> context,
|
| {
|
| if (!debugData(context)->IsUndefined())
|
| return false;
|
| - v8::HandleScope scope;
|
| + v8::HandleScope scope(context->GetIsolate());
|
| v8::Handle<v8::Value> debugData = createDebugData(worldName, debugId);
|
| setDebugData(context, debugData);
|
| return true;
|
| @@ -203,7 +203,7 @@ bool V8PerContextDebugData::setContextDebugData(v8::Handle<v8::Context> context,
|
|
|
| int V8PerContextDebugData::contextDebugId(v8::Handle<v8::Context> context)
|
| {
|
| - v8::HandleScope scope;
|
| + v8::HandleScope scope(context->GetIsolate());
|
| v8::Handle<v8::Value> data = debugData(context);
|
|
|
| if (!data->IsString())
|
|
|