| Index: Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| diff --git a/Source/bindings/core/v8/V8AbstractEventListener.cpp b/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| index 6e8487ee27cbc3cfbfe70442c5cb9c58ce8e8060..c9ee784d79285ed4d610360afe99705741860339 100644
|
| --- a/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| +++ b/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| @@ -75,7 +75,7 @@ V8AbstractEventListener::~V8AbstractEventListener()
|
|
|
| void V8AbstractEventListener::handleEvent(ExecutionContext*, Event* event)
|
| {
|
| - if (scriptState()->contextIsEmpty())
|
| + if (scriptState()->contextIsValue())
|
| return;
|
| if (!scriptState()->executionContext())
|
| return;
|
| @@ -110,7 +110,7 @@ void V8AbstractEventListener::invokeEventHandler(Event* event, v8::Local<v8::Val
|
| if (jsEvent.IsEmpty())
|
| return;
|
|
|
| - ASSERT(!scriptState()->contextIsEmpty());
|
| + ASSERT(!scriptState()->contextIsValue());
|
| v8::Local<v8::Value> returnValue;
|
| {
|
| // Catch exceptions thrown in the event handler so they do not propagate to javascript code that caused the event to fire.
|
|
|