| Index: Source/core/events/Event.h
|
| diff --git a/Source/core/events/Event.h b/Source/core/events/Event.h
|
| index 69d3e5258aa1c97b622427e70f167e4990a5156a..2b6fb6716c044dbdd2b1c338ac6e2dd0d6df447c 100644
|
| --- a/Source/core/events/Event.h
|
| +++ b/Source/core/events/Event.h
|
| @@ -159,7 +159,7 @@ public:
|
| bool immediatePropagationStopped() const { return m_immediatePropagationStopped; }
|
|
|
| bool defaultPrevented() const { return m_defaultPrevented; }
|
| - void preventDefault()
|
| + virtual void preventDefault()
|
| {
|
| if (m_cancelable)
|
| m_defaultPrevented = true;
|
|
|