summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2009-08-19 18:07:37 +0100
committerAndrei Popescu <andreip@google.com>2009-08-19 18:13:28 +0100
commit72f4ed34e756eaa90b94b74b7a6f43ec33310822 (patch)
treed1d56f96d1f4322c654921f8e6d309e41483b1a5 /WebCore/bindings/js
parent058ccc7ba0a4d59b9f6e92808332aa9895425fc7 (diff)
downloadexternal_webkit-72f4ed34e756eaa90b94b74b7a6f43ec33310822.zip
external_webkit-72f4ed34e756eaa90b94b74b7a6f43ec33310822.tar.gz
external_webkit-72f4ed34e756eaa90b94b74b7a6f43ec33310822.tar.bz2
fix JSC support.
Diffstat (limited to 'WebCore/bindings/js')
-rw-r--r--WebCore/bindings/js/JSEventCustom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/bindings/js/JSEventCustom.cpp b/WebCore/bindings/js/JSEventCustom.cpp
index 7f9030e..804c529 100644
--- a/WebCore/bindings/js/JSEventCustom.cpp
+++ b/WebCore/bindings/js/JSEventCustom.cpp
@@ -110,7 +110,7 @@ JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, Event* event)
#endif
#if ENABLE(TOUCH_EVENTS) // Android
else if (event->isTouchEvent())
- wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, TouchEvent, event);
+ wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, TouchEvent, event);
#endif
else
wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, UIEvent, event);