Title: [119803] trunk/Source/WebCore
Revision
119803
Author
[email protected]
Date
2012-06-08 00:04:34 -0700 (Fri, 08 Jun 2012)

Log Message

Remove the assertion that has been moved to TreeScope after r119802.

* dom/Document.cpp:
(WebCore::Document::removedLastRef):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (119802 => 119803)


--- trunk/Source/WebCore/ChangeLog	2012-06-08 06:28:12 UTC (rev 119802)
+++ trunk/Source/WebCore/ChangeLog	2012-06-08 07:04:34 UTC (rev 119803)
@@ -1,3 +1,10 @@
+2012-06-08  Ryosuke Niwa  <[email protected]>
+
+        Remove the assertion that has been moved to TreeScope after r119802.
+
+        * dom/Document.cpp:
+        (WebCore::Document::removedLastRef):
+
 2012-06-07  Kentaro Hara  <[email protected]>
 
         Reduce Node object size from 72 byte to 64 byte

Modified: trunk/Source/WebCore/dom/Document.cpp (119802 => 119803)


--- trunk/Source/WebCore/dom/Document.cpp	2012-06-08 06:28:12 UTC (rev 119802)
+++ trunk/Source/WebCore/dom/Document.cpp	2012-06-08 07:04:34 UTC (rev 119803)
@@ -641,7 +641,6 @@
 
 void Document::removedLastRef()
 {
-    ASSERT(!m_deletionHasBegun);
     if (m_guardRefCount) {
         // If removing a child removes the last self-only ref, we don't
         // want the scope to be destructed until after
@@ -686,9 +685,6 @@
 
         guardDeref();
     } else {
-#ifndef NDEBUG
-        m_deletionHasBegun = true;
-#endif
         delete this;
     }
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to