Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / core / v8 / V8WorkerGlobalScopeEventListener.cpp
index 1f3f552..d08df26 100644 (file)
@@ -60,7 +60,7 @@ void V8WorkerGlobalScopeEventListener::handleEvent(ExecutionContext*, Event* eve
     if (!script)
         return;
 
-    if (scriptState()->contextIsEmpty())
+    if (scriptState()->contextIsValid())
         return;
     ScriptState::Scope scope(scriptState());