| Index: Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp
|
| diff --git a/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp b/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp
|
| index 1f3f5528891fee30eeed4c469308ebff62b5d79b..d08df26e4ce0d59657ca2fc5eadfacd3ed9e3f58 100644
|
| --- a/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp
|
| +++ b/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp
|
| @@ -60,7 +60,7 @@ void V8WorkerGlobalScopeEventListener::handleEvent(ExecutionContext*, Event* eve
|
| if (!script)
|
| return;
|
|
|
| - if (scriptState()->contextIsEmpty())
|
| + if (scriptState()->contextIsValid())
|
| return;
|
| ScriptState::Scope scope(scriptState());
|
|
|
|
|