summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2009-09-01 13:22:31 +0100
committerBen Murdoch <benm@google.com>2009-09-01 13:25:20 +0100
commit2a5fa33ef4a22584e0dfd58f3d2cb52ba012d659 (patch)
tree300f26be0c1bf0879423d26eb77236895911e35e /WebCore/bindings
parent4d19269bce7d5e32eb2c3cc1f469d207d8b15bb1 (diff)
downloadexternal_webkit-2a5fa33ef4a22584e0dfd58f3d2cb52ba012d659.zip
external_webkit-2a5fa33ef4a22584e0dfd58f3d2cb52ba012d659.tar.gz
external_webkit-2a5fa33ef4a22584e0dfd58f3d2cb52ba012d659.tar.bz2
Fix a bug where the V8 bindings for SQLStatement error callbacks would not return the correct result to WebCore.
BUG: 2053072
Diffstat (limited to 'WebCore/bindings')
-rw-r--r--WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp b/WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp
index 4b84ebe..efab455 100644
--- a/WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp
+++ b/WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp
@@ -74,7 +74,7 @@ bool V8CustomSQLStatementErrorCallback::handleEvent(SQLTransaction* transaction,
// statement, if any, or onto the next overall step otherwise. Otherwise,
// the error callback did not return false, or there was no error callback.
// Jump to the last step in the overall steps.
- return invokeCallback(m_callback, 2, argv, callbackReturnValue) && !callbackReturnValue;
+ return invokeCallback(m_callback, 2, argv, callbackReturnValue) || callbackReturnValue;
}
} // namespace WebCore