diff options
Diffstat (limited to 'WebCore/storage/SQLTransactionSync.cpp')
-rw-r--r-- | WebCore/storage/SQLTransactionSync.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/storage/SQLTransactionSync.cpp b/WebCore/storage/SQLTransactionSync.cpp index af98f8f..883721c 100644 --- a/WebCore/storage/SQLTransactionSync.cpp +++ b/WebCore/storage/SQLTransactionSync.cpp @@ -150,7 +150,7 @@ ExceptionCode SQLTransactionSync::begin() ExceptionCode SQLTransactionSync::execute() { ASSERT(m_database->scriptExecutionContext()->isContextThread()); - if (!m_database->opened() || !m_callback || !m_callback->handleEvent(m_database->scriptExecutionContext(), this)) { + if (!m_database->opened() || (m_callback && !m_callback->handleEvent(m_database->scriptExecutionContext(), this))) { m_callback = 0; return SQLException::UNKNOWN_ERR; } |