summaryrefslogtreecommitdiffstats
path: root/WebCore/storage/SQLTransactionSync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/storage/SQLTransactionSync.cpp')
-rw-r--r--WebCore/storage/SQLTransactionSync.cpp2
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;
}