Title: [155015] trunk/Source/WebCore
Revision
155015
Author
da...@apple.com
Date
2013-09-03 19:46:10 -0700 (Tue, 03 Sep 2013)

Log Message

Fix backwards branch in ~Node from r154967
https://bugs.webkit.org/show_bug.cgi?id=120659

Reviewed by Andreas Kling.

* dom/Node.cpp:
(WebCore::Node::~Node): Fix backwards branch. The old code ran the code only
when we did not remove the item from the table. I removed a ! from this _expression_
after review; bad idea.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (155014 => 155015)


--- trunk/Source/WebCore/ChangeLog	2013-09-04 01:13:08 UTC (rev 155014)
+++ trunk/Source/WebCore/ChangeLog	2013-09-04 02:46:10 UTC (rev 155015)
@@ -1,3 +1,15 @@
+2013-09-03  Darin Adler  <da...@apple.com>
+
+        Fix backwards branch in ~Node from r154967
+        https://bugs.webkit.org/show_bug.cgi?id=120659
+
+        Reviewed by Andreas Kling.
+
+        * dom/Node.cpp:
+        (WebCore::Node::~Node): Fix backwards branch. The old code ran the code only
+        when we did not remove the item from the table. I removed a ! from this _expression_
+        after review; bad idea.
+
 2013-09-03  Enrica Casucci  <enr...@apple.com>
 
         Can't select Katakana word by double-clicking.

Modified: trunk/Source/WebCore/dom/Node.cpp (155014 => 155015)


--- trunk/Source/WebCore/dom/Node.cpp	2013-09-04 01:13:08 UTC (rev 155014)
+++ trunk/Source/WebCore/dom/Node.cpp	2013-09-04 02:46:10 UTC (rev 155015)
@@ -336,7 +336,7 @@
 Node::~Node()
 {
 #ifndef NDEBUG
-    if (ignoreSet.remove(this))
+    if (!ignoreSet.remove(this))
         nodeCounter.decrement();
 #endif
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to