summaryrefslogtreecommitdiffstats
path: root/WebCore/dom
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2009-10-13 10:44:54 +0100
committerSteve Block <steveblock@google.com>2009-10-13 21:56:40 +0100
commitf74209305ea9b6bb10e1c183c37096f0764118b2 (patch)
tree6ff8ecb3eebddd619ece9b2938774cf41c271149 /WebCore/dom
parente8d10d8203b1556f369bf9179f049a03df1f9c3a (diff)
downloadexternal_webkit-f74209305ea9b6bb10e1c183c37096f0764118b2.zip
external_webkit-f74209305ea9b6bb10e1c183c37096f0764118b2.tar.gz
external_webkit-f74209305ea9b6bb10e1c183c37096f0764118b2.tar.bz2
Removes superfluous unload event getter and setter methods from Node. Do not merge.
These were removed from webkit.org in http://trac.webkit.org/changeset/44944. This should have been picked up in https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=d227fc870c7a697500a3c900c31baf05fb9a8524, which syncs to webkit.org R47420. This has already been submitted to master branch.
Diffstat (limited to 'WebCore/dom')
-rw-r--r--WebCore/dom/Node.cpp10
-rw-r--r--WebCore/dom/Node.h3
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>);