| Index: Source/core/dom/EventContext.h
|
| diff --git a/Source/core/dom/EventContext.h b/Source/core/dom/EventContext.h
|
| index 2aa16cbddc93fb056898af9b5c115dc0ef99e344..6e3a09a560c88b1cc6f79824473fae71e24d1406 100644
|
| --- a/Source/core/dom/EventContext.h
|
| +++ b/Source/core/dom/EventContext.h
|
| @@ -35,7 +35,9 @@
|
| namespace WebCore {
|
|
|
| class Event;
|
| +#if ENABLE(TOUCH_EVENTS)
|
| class TouchList;
|
| +#endif
|
|
|
| class EventContext {
|
| public:
|
| @@ -76,6 +78,7 @@ private:
|
| };
|
|
|
|
|
| +#if ENABLE(TOUCH_EVENTS)
|
| class TouchEventContext : public EventContext {
|
| public:
|
| TouchEventContext(PassRefPtr<Node>, PassRefPtr<EventTarget> currentTarget, PassRefPtr<EventTarget> target);
|
| @@ -102,6 +105,7 @@ inline TouchEventContext* toTouchEventContext(EventContext* eventContext)
|
| ASSERT_WITH_SECURITY_IMPLICATION(!eventContext || eventContext->isTouchEventContext());
|
| return static_cast<TouchEventContext*>(eventContext);
|
| }
|
| +#endif // ENABLE(TOUCH_EVENTS)
|
|
|
| #ifndef NDEBUG
|
| inline bool EventContext::isUnreachableNode(EventTarget* target)
|
|
|