Title: [109220] trunk/Source/WebCore
Revision
109220
Author
[email protected]
Date
2012-02-29 09:07:00 -0800 (Wed, 29 Feb 2012)

Log Message

Align InlineBox::m_expansion to a byte boundary
https://bugs.webkit.org/show_bug.cgi?id=79761

Add a bit to m_expansion to align a byte boundary.
This will make valgrind memcheck happy.
I confirmed sizeof(InlineBox) is unchanged.

Reviewed by Hajime Morita.

No new tests. No behavior changes.

* rendering/InlineBox.h:
(InlineBox): Aligned m_expansion to a byte boundary.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (109219 => 109220)


--- trunk/Source/WebCore/ChangeLog	2012-02-29 16:51:41 UTC (rev 109219)
+++ trunk/Source/WebCore/ChangeLog	2012-02-29 17:07:00 UTC (rev 109220)
@@ -1,3 +1,19 @@
+2012-02-29  Kenichi Ishibashi  <[email protected]>
+
+        Align InlineBox::m_expansion to a byte boundary
+        https://bugs.webkit.org/show_bug.cgi?id=79761
+
+        Add a bit to m_expansion to align a byte boundary.
+        This will make valgrind memcheck happy.
+        I confirmed sizeof(InlineBox) is unchanged.
+
+        Reviewed by Hajime Morita.
+
+        No new tests. No behavior changes.
+
+        * rendering/InlineBox.h:
+        (InlineBox): Aligned m_expansion to a byte boundary.
+
 2012-02-28  Kenneth Rohde Christiansen  <[email protected]>
 
         Do not iterate all tiles for resizing when the content didn't change

Modified: trunk/Source/WebCore/rendering/InlineBox.h (109219 => 109220)


--- trunk/Source/WebCore/rendering/InlineBox.h	2012-02-29 16:51:41 UTC (rev 109219)
+++ trunk/Source/WebCore/rendering/InlineBox.h	2012-02-29 17:07:00 UTC (rev 109220)
@@ -358,7 +358,7 @@
 protected:
     mutable bool m_determinedIfNextOnLineExists : 1;
     mutable bool m_nextOnLineExists : 1;
-    signed m_expansion : 11; // for justified text
+    signed m_expansion : 12; // for justified text
 
 #ifndef NDEBUG
 private:
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to