Title: [149957] trunk/Source/WebCore
- Revision
- 149957
- Author
- [email protected]
- Date
- 2013-05-12 07:05:37 -0700 (Sun, 12 May 2013)
Log Message
Remove redundant call to removeAllEventListeners() in Document::open().
>From Blink r150175 by <[email protected]>
<http://src.chromium.org/viewvc/blink?view=revision&revision=150175>
Document::open() already calls Document::removeAllEventListeners(), which
removes the event listeners from the DOMWindow it's attached to, so
there's no need to do it manually here as well.
* dom/Document.cpp:
(WebCore::Document::open):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (149956 => 149957)
--- trunk/Source/WebCore/ChangeLog 2013-05-12 13:57:27 UTC (rev 149956)
+++ trunk/Source/WebCore/ChangeLog 2013-05-12 14:05:37 UTC (rev 149957)
@@ -1,5 +1,19 @@
2013-05-12 Andreas Kling <[email protected]>
+ Remove redundant call to removeAllEventListeners() in Document::open().
+
+ From Blink r150175 by <[email protected]>
+ <http://src.chromium.org/viewvc/blink?view=revision&revision=150175>
+
+ Document::open() already calls Document::removeAllEventListeners(), which
+ removes the event listeners from the DOMWindow it's attached to, so
+ there's no need to do it manually here as well.
+
+ * dom/Document.cpp:
+ (WebCore::Document::open):
+
+2013-05-12 Andreas Kling <[email protected]>
+
Apply FINAL to the RenderObject hierarchy.
<http://webkit.org/b/115977>
Modified: trunk/Source/WebCore/dom/Document.cpp (149956 => 149957)
--- trunk/Source/WebCore/dom/Document.cpp 2013-05-12 13:57:27 UTC (rev 149956)
+++ trunk/Source/WebCore/dom/Document.cpp 2013-05-12 14:05:37 UTC (rev 149957)
@@ -2233,9 +2233,6 @@
if (ScriptableDocumentParser* parser = scriptableDocumentParser())
parser->setWasCreatedByScript(true);
- if (DOMWindow* domWindow = this->domWindow())
- domWindow->removeAllEventListeners();
-
if (m_frame)
m_frame->loader()->didExplicitOpen();
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes