Title: [97054] trunk/Source/WebCore
Revision
97054
Author
[email protected]
Date
2011-10-10 04:29:53 -0700 (Mon, 10 Oct 2011)

Log Message

Shrink RenderListItem on 64-bit.
https://bugs.webkit.org/show_bug.cgi?id=69751

Reviewed by Kenneth Rohde Christiansen.

Rearrange members to utilize the padding at the end of RenderBlock.
This shrinks RenderListItem by 8 bytes on 64-bit, reducing memory consumption
by 60 kB when loading the full HTML5 spec.

* rendering/RenderListItem.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (97053 => 97054)


--- trunk/Source/WebCore/ChangeLog	2011-10-10 11:27:59 UTC (rev 97053)
+++ trunk/Source/WebCore/ChangeLog	2011-10-10 11:29:53 UTC (rev 97054)
@@ -1,5 +1,18 @@
 2011-10-10  Andreas Kling  <[email protected]>
 
+        Shrink RenderListItem on 64-bit.
+        https://bugs.webkit.org/show_bug.cgi?id=69751
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Rearrange members to utilize the padding at the end of RenderBlock.
+        This shrinks RenderListItem by 8 bytes on 64-bit, reducing memory consumption
+        by 60 kB when loading the full HTML5 spec.
+
+        * rendering/RenderListItem.h:
+
+2011-10-10  Andreas Kling  <[email protected]>
+
         Shrink RootInlineBox.
         https://bugs.webkit.org/show_bug.cgi?id=69707
 

Modified: trunk/Source/WebCore/rendering/RenderListItem.h (97053 => 97054)


--- trunk/Source/WebCore/rendering/RenderListItem.h	2011-10-10 11:27:59 UTC (rev 97053)
+++ trunk/Source/WebCore/rendering/RenderListItem.h	2011-10-10 11:29:53 UTC (rev 97054)
@@ -75,8 +75,8 @@
     void updateValueNow() const;
     void explicitValueChanged();
 
+    int m_explicitValue;
     RenderListMarker* m_marker;
-    int m_explicitValue;
     mutable int m_value;
 
     bool m_hasExplicitValue : 1;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to