Index: Source/bindings/v8/custom/V8DocumentCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8DocumentCustom.cpp b/Source/bindings/v8/custom/V8DocumentCustom.cpp |
index e447cf3687f60daf356a5fde588ac734ef2e07e6..3e24776fd0791ccc68b0bc6ca1b11a0c44b82a7a 100644 |
--- a/Source/bindings/v8/custom/V8DocumentCustom.cpp |
+++ b/Source/bindings/v8/custom/V8DocumentCustom.cpp |
@@ -107,6 +107,7 @@ v8::Handle<v8::Object> wrap(Document* impl, v8::Handle<v8::Object> creationConte |
return wrapper; |
} |
+#if ENABLE(TOUCH_EVENTS) |
v8::Handle<v8::Value> V8Document::createTouchListMethodCustom(const v8::Arguments& args) |
{ |
RefPtr<TouchList> touchList = TouchList::create(); |
@@ -118,5 +119,6 @@ v8::Handle<v8::Value> V8Document::createTouchListMethodCustom(const v8::Argument |
return toV8(touchList.release(), args.Holder(), args.GetIsolate()); |
} |
+#endif |
} // namespace WebCore |