| Index: Source/bindings/v8/NPV8Object.cpp
|
| diff --git a/Source/bindings/v8/NPV8Object.cpp b/Source/bindings/v8/NPV8Object.cpp
|
| index 80f29f643751f010a5baa031de9533eaf317d860..eed1b96c237e5b8a68cf82b3aa777297e9c9ca34 100644
|
| --- a/Source/bindings/v8/NPV8Object.cpp
|
| +++ b/Source/bindings/v8/NPV8Object.cpp
|
| @@ -336,7 +336,7 @@ bool _NPN_EvaluateHelper(NPP npp, bool popupsAllowed, NPObject* npObject, NPStri
|
| if (!v8NpObject)
|
| return false;
|
|
|
| - v8::HandleScope handleScope;
|
| + v8::HandleScope handleScope(v8::Isolate::GetCurrent());
|
| v8::Handle<v8::Context> context = toV8Context(npp, npObject);
|
| if (context.IsEmpty())
|
| return false;
|
| @@ -504,7 +504,7 @@ void _NPN_SetException(NPObject* npObject, const NPUTF8 *message)
|
| return;
|
| }
|
|
|
| - v8::HandleScope handleScope;
|
| + v8::HandleScope handleScope(v8::Isolate::GetCurrent());
|
| v8::Handle<v8::Context> context = toV8Context(0, npObject);
|
| if (context.IsEmpty())
|
| return;
|
|
|