| Index: Source/bindings/v8/V8AbstractEventListener.cpp
|
| diff --git a/Source/bindings/v8/V8AbstractEventListener.cpp b/Source/bindings/v8/V8AbstractEventListener.cpp
|
| index e6b3de91b411885d3368a198eb5479c802da8b5e..0f3469c472aa35de9926be54d89d3752052a6f20 100644
|
| --- a/Source/bindings/v8/V8AbstractEventListener.cpp
|
| +++ b/Source/bindings/v8/V8AbstractEventListener.cpp
|
| @@ -142,7 +142,7 @@ void V8AbstractEventListener::invokeEventHandler(ScriptExecutionContext* context
|
|
|
| // Restore the old event. This must be done for all exit paths through this method.
|
| if (savedEvent.IsEmpty())
|
| - v8Context->Global()->SetHiddenValue(eventSymbol, v8::Undefined());
|
| + v8Context->Global()->SetHiddenValue(eventSymbol, v8::Undefined(v8Context->GetIsolate()));
|
| else
|
| v8Context->Global()->SetHiddenValue(eventSymbol, savedEvent);
|
| tryCatch.Reset();
|
|
|