diff options
-rw-r--r-- | WebCore/dom/Node.cpp | 10 | ||||
-rw-r--r-- | WebCore/dom/Node.h | 3 |
2 files changed, 1 insertions, 12 deletions
diff --git a/WebCore/dom/Node.cpp b/WebCore/dom/Node.cpp index 18655c6..11d2bcf 100644 --- a/WebCore/dom/Node.cpp +++ b/WebCore/dom/Node.cpp @@ -3368,16 +3368,6 @@ void Node::setOnselectstart(PassRefPtr<EventListener> eventListener) setAttributeEventListener(eventNames().selectstartEvent, eventListener); } -EventListener* Node::onunload() const -{ - return getAttributeEventListener(eventNames().unloadEvent); -} - -void Node::setOnunload(PassRefPtr<EventListener> eventListener) -{ - setAttributeEventListener(eventNames().unloadEvent, eventListener); -} - #if ENABLE(TOUCH_EVENTS) // Android EventListener* Node::ontouchstart() const { diff --git a/WebCore/dom/Node.h b/WebCore/dom/Node.h index f10e830..753f20e 100644 --- a/WebCore/dom/Node.h +++ b/WebCore/dom/Node.h @@ -658,8 +658,7 @@ public: void setOnsearch(PassRefPtr<EventListener>); EventListener* onselectstart() const; void setOnselectstart(PassRefPtr<EventListener>); - EventListener* onunload() const; - void setOnunload(PassRefPtr<EventListener>); + #if ENABLE(TOUCH_EVENTS) // Android EventListener* ontouchstart() const; void setOntouchstart(PassRefPtr<EventListener>); |