From 14be0af3dbf46bfc174c0081053eccccef89edc7 Mon Sep 17 00:00:00 2001 From: Andrei Popescu Date: Tue, 4 Aug 2009 15:23:24 +0100 Subject: Add V8 locks at the v8 entry points for use with workers. --- WebCore/bindings/v8/V8AbstractEventListener.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'WebCore/bindings/v8/V8AbstractEventListener.cpp') 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 protect(this); + LOCK_V8; v8::HandleScope handleScope; v8::Handle context = V8Proxy::GetContext(m_frame); -- cgit v1.1