| Index: Source/bindings/modules/v8/custom/V8CustomSQLStatementErrorCallback.cpp
|
| diff --git a/Source/bindings/modules/v8/custom/V8CustomSQLStatementErrorCallback.cpp b/Source/bindings/modules/v8/custom/V8CustomSQLStatementErrorCallback.cpp
|
| index 9dde0b2d97c4d2a7427c626027f89247ec3ef2b5..e4538f04a76137f4e3dd5ae657bdb7c2ceebcf53 100644
|
| --- a/Source/bindings/modules/v8/custom/V8CustomSQLStatementErrorCallback.cpp
|
| +++ b/Source/bindings/modules/v8/custom/V8CustomSQLStatementErrorCallback.cpp
|
| @@ -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());
|
|
|