Title: [150996] trunk/Source/WebCore
Revision
150996
Author
[email protected]
Date
2013-05-30 17:53:31 -0700 (Thu, 30 May 2013)

Log Message

Fix double hash lookup in RenderTableSection::paintObject loop
https://bugs.webkit.org/show_bug.cgi?id=117055

Reviewed by Antonio Gomes.

* rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::paintObject):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (150995 => 150996)


--- trunk/Source/WebCore/ChangeLog	2013-05-31 00:38:15 UTC (rev 150995)
+++ trunk/Source/WebCore/ChangeLog	2013-05-31 00:53:31 UTC (rev 150996)
@@ -1,5 +1,15 @@
 2013-05-30  Rafael Brandao  <[email protected]>
 
+        Fix double hash lookup in RenderTableSection::paintObject loop
+        https://bugs.webkit.org/show_bug.cgi?id=117055
+
+        Reviewed by Antonio Gomes.
+
+        * rendering/RenderTableSection.cpp:
+        (WebCore::RenderTableSection::paintObject):
+
+2013-05-30  Rafael Brandao  <[email protected]>
+
         Fix double hash lookup in WebSocket::connect loop
         https://bugs.webkit.org/show_bug.cgi?id=117052
 

Modified: trunk/Source/WebCore/rendering/RenderTableSection.cpp (150995 => 150996)


--- trunk/Source/WebCore/rendering/RenderTableSection.cpp	2013-05-31 00:38:15 UTC (rev 150995)
+++ trunk/Source/WebCore/rendering/RenderTableSection.cpp	2013-05-31 00:53:31 UTC (rev 150996)
@@ -1173,9 +1173,8 @@
                             continue;
 
                         if (current.cells[i]->rowSpan() > 1 || current.cells[i]->colSpan() > 1) {
-                            if (spanningCells.contains(current.cells[i]))
+                            if (!spanningCells.add(current.cells[i]).isNewEntry)
                                 continue;
-                            spanningCells.add(current.cells[i]);
                         }
 
                         cells.append(current.cells[i]);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to