summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp
diff options
context:
space:
mode:
authorFeng Qian <fqian@google.com>2009-06-17 12:12:20 -0700
committerFeng Qian <fqian@google.com>2009-06-17 12:12:20 -0700
commit5f1ab04193ad0130ca8204aadaceae083aca9881 (patch)
tree5a92cd389e2cfe7fb67197ce14b38469462379f8 /WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp
parent194315e5a908cc8ed67d597010544803eef1ac59 (diff)
downloadexternal_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.zip
external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.tar.gz
external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.tar.bz2
Get WebKit r44544.
Diffstat (limited to 'WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp')
-rw-r--r--WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp b/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp
index 5333006..6233a1d 100644
--- a/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp
+++ b/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp
@@ -50,13 +50,13 @@ V8CustomSQLTransactionErrorCallback::~V8CustomSQLTransactionErrorCallback()
m_callback.Dispose();
}
-bool V8CustomSQLTransactionErrorCallback::handleEvent(SQLError* error)
+void V8CustomSQLTransactionErrorCallback::handleEvent(SQLError* error)
{
v8::HandleScope handleScope;
v8::Handle<v8::Context> context = V8Proxy::GetContext(m_frame.get());
if (context.IsEmpty())
- return true;
+ return;
v8::Context::Scope scope(context);
@@ -69,10 +69,6 @@ bool V8CustomSQLTransactionErrorCallback::handleEvent(SQLError* error)
bool callbackReturnValue = false;
invokeCallback(m_callback, 1, argv, callbackReturnValue);
-
- // FIXME: Eliminate return value once SQLTransactionErrorCallback is changed
- // to match the spec.
- return true;
}
} // namespace WebCore