summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2009-08-06 15:25:07 +0100
committerAndrei Popescu <andreip@google.com>2009-08-06 16:18:42 +0100
commit1a8fe8ee97a14e44298afb328919b5652277a223 (patch)
treee90c3b097b8aeb1aed4130c5a3d0088f31ee2d02 /WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp
parentcc42ddfc59bb9fa5aa3b916a27f682fa6fb128a0 (diff)
downloadexternal_webkit-1a8fe8ee97a14e44298afb328919b5652277a223.zip
external_webkit-1a8fe8ee97a14e44298afb328919b5652277a223.tar.gz
external_webkit-1a8fe8ee97a14e44298afb328919b5652277a223.tar.bz2
Add more LOCK_V8 macros: the custom V8 bindings are used to invoke JS callbacks to let the JS application know when something interesting happens. These entry points into V8 are denoted by "handleEvent" methods and need to be protected as well.
Diffstat (limited to 'WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp')
-rw-r--r--WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp b/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp
index 6233a1d..8dcb0a8 100644
--- a/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp
+++ b/WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp
@@ -52,6 +52,7 @@ V8CustomSQLTransactionErrorCallback::~V8CustomSQLTransactionErrorCallback()
void V8CustomSQLTransactionErrorCallback::handleEvent(SQLError* error)
{
+ LOCK_V8;
v8::HandleScope handleScope;
v8::Handle<v8::Context> context = V8Proxy::GetContext(m_frame.get());