Title: [164369] trunk/Source/WebCore
- Revision
- 164369
- Author
- [email protected]
- Date
- 2014-02-19 10:04:39 -0800 (Wed, 19 Feb 2014)
Log Message
Don't call to willBeDeletedFrom(Document&) when destructing document
https://bugs.webkit.org/show_bug.cgi?id=129013
Reviewed by Andreas Kling.
The document is half dead at this point.
* dom/ContainerNode.cpp:
(WebCore::ContainerNode::~ContainerNode):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (164368 => 164369)
--- trunk/Source/WebCore/ChangeLog 2014-02-19 17:58:49 UTC (rev 164368)
+++ trunk/Source/WebCore/ChangeLog 2014-02-19 18:04:39 UTC (rev 164369)
@@ -1,3 +1,15 @@
+2014-02-19 Antti Koivisto <[email protected]>
+
+ Don't call to willBeDeletedFrom(Document&) when destructing document
+ https://bugs.webkit.org/show_bug.cgi?id=129013
+
+ Reviewed by Andreas Kling.
+
+ The document is half dead at this point.
+
+ * dom/ContainerNode.cpp:
+ (WebCore::ContainerNode::~ContainerNode):
+
2014-02-19 Daniel Bates <[email protected]>
REGRESSION (r163560): Always treat SVG <tspan> and <textPath> as display inline
Modified: trunk/Source/WebCore/dom/ContainerNode.cpp (164368 => 164369)
--- trunk/Source/WebCore/dom/ContainerNode.cpp 2014-02-19 17:58:49 UTC (rev 164368)
+++ trunk/Source/WebCore/dom/ContainerNode.cpp 2014-02-19 18:04:39 UTC (rev 164369)
@@ -150,7 +150,8 @@
ContainerNode::~ContainerNode()
{
- willBeDeletedFrom(document());
+ if (!isDocumentNode())
+ willBeDeletedFrom(document());
removeDetachedChildren();
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes