Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / modules / v8 / custom / V8CustomSQLStatementErrorCallback.cpp
index 9dde0b2..e4538f0 100644 (file)
@@ -45,7 +45,7 @@ bool V8SQLStatementErrorCallback::handleEvent(SQLTransaction* transaction, SQLEr
         return true;
 
     v8::Isolate* isolate = m_scriptState->isolate();
-    if (m_scriptState->contextIsEmpty())
+    if (m_scriptState->contextIsValid())
         return true;
 
     ScriptState::Scope scope(m_scriptState.get());