Title: [233635] trunk/Source/WebCore
Revision
233635
Author
[email protected]
Date
2018-07-08 22:35:38 -0700 (Sun, 08 Jul 2018)

Log Message

Shrink RenderTableSection
https://bugs.webkit.org/show_bug.cgi?id=187457

Reviewed by Zalan Bujtas.

Shrink RenderTableSection from 344 to 336 bytes, saving about 3.6KB on nytimes.com.

* rendering/RenderTableSection.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (233634 => 233635)


--- trunk/Source/WebCore/ChangeLog	2018-07-09 05:09:21 UTC (rev 233634)
+++ trunk/Source/WebCore/ChangeLog	2018-07-09 05:35:38 UTC (rev 233635)
@@ -1,5 +1,16 @@
 2018-07-08  Simon Fraser  <[email protected]>
 
+        Shrink RenderTableSection
+        https://bugs.webkit.org/show_bug.cgi?id=187457
+
+        Reviewed by Zalan Bujtas.
+
+        Shrink RenderTableSection from 344 to 336 bytes, saving about 3.6KB on nytimes.com.
+
+        * rendering/RenderTableSection.h:
+
+2018-07-08  Simon Fraser  <[email protected]>
+
         Optimize packing of RootInlineBox
         https://bugs.webkit.org/show_bug.cgi?id=187430
 

Modified: trunk/Source/WebCore/rendering/RenderTableSection.h (233634 => 233635)


--- trunk/Source/WebCore/rendering/RenderTableSection.h	2018-07-09 05:09:21 UTC (rev 233634)
+++ trunk/Source/WebCore/rendering/RenderTableSection.h	2018-07-09 05:35:38 UTC (rev 233635)
@@ -230,19 +230,18 @@
     LayoutUnit m_outerBorderBefore;
     LayoutUnit m_outerBorderAfter;
 
-    bool m_needsCellRecalc  { false };
-
     // This HashSet holds the overflowing cells for faster painting.
     // If we have more than gMaxAllowedOverflowingCellRatio * total cells, it will be empty
     // and m_forceSlowPaintPathWithOverflowingCell will be set to save memory.
     HashSet<RenderTableCell*> m_overflowingCells;
-    bool m_forceSlowPaintPathWithOverflowingCell { false };
 
-    bool m_hasMultipleCellLevels { false };
-
     // This map holds the collapsed border values for cells with collapsed borders.
     // It is held at RenderTableSection level to spare memory consumption by table cells.
     HashMap<std::pair<const RenderTableCell*, int>, CollapsedBorderValue > m_cellsCollapsedBorders;
+
+    bool m_forceSlowPaintPathWithOverflowingCell { false };
+    bool m_hasMultipleCellLevels { false };
+    bool m_needsCellRecalc  { false };
 };
 
 inline const BorderValue& RenderTableSection::borderAdjoiningTableStart() const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to