| Index: third_party/WebKit/WebCore/dom/Document.cpp
|
| ===================================================================
|
| --- third_party/WebKit/WebCore/dom/Document.cpp (revision 5109)
|
| +++ third_party/WebKit/WebCore/dom/Document.cpp (working copy)
|
| @@ -2897,12 +2897,6 @@
|
| m_frame->eventHandler()->removePendingFrameBeforeUnloadEventCount();
|
| }
|
|
|
| -bool Document::hasUnloadEventListener()
|
| -{
|
| - return (hasWindowEventListener(eventNames().unloadEvent) ||
|
| - hasWindowEventListener(eventNames().beforeunloadEvent));
|
| -}
|
| -
|
| PassRefPtr<EventListener> Document::createEventListener(const String& functionName, const String& code, Node* node)
|
| {
|
| Frame* frm = frame();
|
|
|