COMMIT_MESSAGE

 1Move enum LineLayoutPath in RenderBlock
 2
 3This removes the bitfield interruption, allowing more efficient
 4packing.
 5Otherwise compile-time assertion fails:
 6In file included from ../webkitgtk-2.4.8/Source/WTF/wtf/PossiblyNull.h:29:0,
 7 from ../webkitgtk-2.4.8/Source/WTF/wtf/FastMalloc.h:27,
 8 from ../webkitgtk-2.4.8/Source/WebCore/config.h:74,
 9 from ../webkitgtk-2.4.8/Source/WebCore/rendering/RenderBlock.cpp:24:
 10../webkitgtk-2.4.8/Source/WTF/wtf/Assertions.h:326:35: error: static assertion failed: RenderBlock_should_stay_small
 11 #define COMPILE_ASSERT(exp, name) static_assert((exp), #name)
 12 ^
 13../webkitgtk-2.4.8/Source/WebCore/rendering/RenderBlock.cpp:88:1: note: in expansion of macro 'COMPILE_ASSERT'
 14 COMPILE_ASSERT(sizeof(RenderBlock) == sizeof(SameSizeAsRenderBlock), RenderBlock_should_stay_small);
 15 ^
 16
 17https://bugs.webkit.org/show_bug.cgi?id=143760

Source/WebCore/ChangeLog

112015-04-15 Руслан Ижбулатов <lrn1986@gmail.com>
22
 3 Move enum LineLayoutPath in RenderBlock
 4
 5 This removes the bitfield interruption, allowing more efficient
 6 packing.
 7 Otherwise compile-time assertion fails:
 8 In file included from ../webkitgtk-2.4.8/Source/WTF/wtf/PossiblyNull.h:29:0,
 9 from ../webkitgtk-2.4.8/Source/WTF/wtf/FastMalloc.h:27,
 10 from ../webkitgtk-2.4.8/Source/WebCore/config.h:74,
 11 from ../webkitgtk-2.4.8/Source/WebCore/rendering/RenderBlock.cpp:24:
 12 ../webkitgtk-2.4.8/Source/WTF/wtf/Assertions.h:326:35: error: static assertion failed: RenderBlock_should_stay_small
 13 #define COMPILE_ASSERT(exp, name) static_assert((exp), #name)
 14 ^
 15 ../webkitgtk-2.4.8/Source/WebCore/rendering/RenderBlock.cpp:88:1: note: in expansion of macro 'COMPILE_ASSERT'
 16 COMPILE_ASSERT(sizeof(RenderBlock) == sizeof(SameSizeAsRenderBlock), RenderBlock_should_stay_small);
 17 ^
 18
 19 [W32] Compile-time assertion failure: RenderBlock_should_stay_small
 20 https://bugs.webkit.org/show_bug.cgi?id=143760
 21
 22 Reviewed by NOBODY (OOPS!).
 23
 24 No new tests (OOPS!).
 25
 26 * rendering/RenderBlock.h:
 27
 282015-04-15 Руслан Ижбулатов <lrn1986@gmail.com>
 29
330 Add missing includes to FileSystemGtk
431
532 Needed for GetModuleHandleExA() & Co.

Source/WebCore/rendering/RenderBlock.h

@@public:
611611 unsigned m_beingDestroyed : 1;
612612 unsigned m_hasMarkupTruncation : 1;
613613 unsigned m_hasBorderOrPaddingLogicalWidthChanged : 1;
614  enum LineLayoutPath { UndeterminedPath, SimpleLinesPath, LineBoxesPath, ForceLineBoxesPath };
615614 unsigned m_lineLayoutPath : 2;
 615 enum LineLayoutPath { UndeterminedPath, SimpleLinesPath, LineBoxesPath, ForceLineBoxesPath };
616616
617617 // RenderRubyBase objects need to be able to split and merge, moving their children around
618618 // (calling moveChildTo, moveAllChildrenTo, and makeChildrenNonInline).