summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/public/WebDOMEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/public/WebDOMEvent.h')
-rw-r--r--WebKit/chromium/public/WebDOMEvent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebKit/chromium/public/WebDOMEvent.h b/WebKit/chromium/public/WebDOMEvent.h
index d34c8d4..fa02b0c 100644
--- a/WebKit/chromium/public/WebDOMEvent.h
+++ b/WebKit/chromium/public/WebDOMEvent.h
@@ -50,6 +50,8 @@ public:
BubblingPhase = 3
};
+ ~WebDOMEvent() { reset(); }
+
WebDOMEvent() : m_private(0) { }
WebDOMEvent(const WebDOMEvent& e) : m_private(0) { assign(e); }
WebDOMEvent& operator=(const WebDOMEvent& e)