summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2009-08-14 13:42:15 +0100
committerAndrei Popescu <andreip@google.com>2009-08-14 13:45:08 +0100
commita8dc31a536c500068911fc79adaf29f051beb34b (patch)
treeae513abe512bea81ad289e33037017365a6f1b97 /WebCore
parenta2e6a074c9aaa2cb54aa85a656f7411c2a73f29e (diff)
downloadexternal_webkit-a8dc31a536c500068911fc79adaf29f051beb34b.zip
external_webkit-a8dc31a536c500068911fc79adaf29f051beb34b.tar.gz
external_webkit-a8dc31a536c500068911fc79adaf29f051beb34b.tar.bz2
Fix V8DOMWrapper.cpp
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/bindings/v8/V8DOMWrapper.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/bindings/v8/V8DOMWrapper.cpp b/WebCore/bindings/v8/V8DOMWrapper.cpp
index 9ce64a2..278555e 100644
--- a/WebCore/bindings/v8/V8DOMWrapper.cpp
+++ b/WebCore/bindings/v8/V8DOMWrapper.cpp
@@ -473,9 +473,11 @@ v8::Persistent<v8::FunctionTemplate> V8DOMWrapper::getTemplate(V8ClassIndex::V8W
#endif
#if ENABLE(TOUCH_EVENTS)
// TODO(andreip): upstream touch related changes to Chromium
- case V8ClassIndex::TOUCHLIST:
+ case V8ClassIndex::TOUCHLIST: {
+ v8::Local<v8::ObjectTemplate> instanceTemplate = descriptor->InstanceTemplate();
instanceTemplate->SetIndexedPropertyHandler(USE_INDEXED_PROPERTY_GETTER(TouchList));
break;
+ }
#endif
case V8ClassIndex::CLIENTRECTLIST:
descriptor->InstanceTemplate()->SetIndexedPropertyHandler(USE_INDEXED_PROPERTY_GETTER(ClientRectList));