summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/V8AbstractEventListener.cpp
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2009-08-04 15:23:24 +0100
committerAndrei Popescu <andreip@google.com>2009-08-05 20:11:54 +0100
commit14be0af3dbf46bfc174c0081053eccccef89edc7 (patch)
tree02ae286cd26ecd31c1e7b0e8b6674c36e8eca8c3 /WebCore/bindings/v8/V8AbstractEventListener.cpp
parente65a5905dd4459ab5e4ef22d6dcb85e1d1a0b7cb (diff)
downloadexternal_webkit-14be0af3dbf46bfc174c0081053eccccef89edc7.zip
external_webkit-14be0af3dbf46bfc174c0081053eccccef89edc7.tar.gz
external_webkit-14be0af3dbf46bfc174c0081053eccccef89edc7.tar.bz2
Add V8 locks at the v8 entry points for use with workers.
Diffstat (limited to 'WebCore/bindings/v8/V8AbstractEventListener.cpp')
-rw-r--r--WebCore/bindings/v8/V8AbstractEventListener.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/bindings/v8/V8AbstractEventListener.cpp b/WebCore/bindings/v8/V8AbstractEventListener.cpp
index 462a729..07e944d 100644
--- a/WebCore/bindings/v8/V8AbstractEventListener.cpp
+++ b/WebCore/bindings/v8/V8AbstractEventListener.cpp
@@ -110,6 +110,7 @@ void V8AbstractEventListener::handleEvent(Event* event, bool isWindowEvent)
// See issue 889829.
RefPtr<V8AbstractEventListener> protect(this);
+ LOCK_V8;
v8::HandleScope handleScope;
v8::Handle<v8::Context> context = V8Proxy::GetContext(m_frame);