Changeset 128335 in webkit


Ignore:
Timestamp:
Sep 12, 2012 10:25:27 AM (12 years ago)
Author:
mihnea@adobe.com
Message:

[CSSRegions]Shrink RenderFlowThread size by using bit flags
https://bugs.webkit.org/show_bug.cgi?id=96503

Reviewed by Andreas Kling.

Use bit fields instead of full bool.

No new functionality, just refactoring. Functionality covered by existing tests in fast/regions.

  • rendering/RenderFlowThread.h:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r128334 r128335  
     12012-09-12  Mihnea Ovidenie  <mihnea@adobe.com>
     2
     3        [CSSRegions]Shrink RenderFlowThread size by using bit flags
     4        https://bugs.webkit.org/show_bug.cgi?id=96503
     5
     6        Reviewed by Andreas Kling.
     7
     8        Use bit fields instead of full bool.
     9
     10        No new functionality, just refactoring. Functionality covered by existing tests in fast/regions.
     11
     12        * rendering/RenderFlowThread.h:
     13
    1142012-09-12  Max Vujovic  <mvujovic@adobe.com>
    215
  • trunk/Source/WebCore/rendering/RenderFlowThread.h

    r128201 r128335  
    176176    RenderRegionRangeMap m_regionRangeMap;
    177177
    178     bool m_hasValidRegions;
    179     bool m_regionsInvalidated;
    180     bool m_regionsHaveUniformLogicalWidth;
    181     bool m_regionsHaveUniformLogicalHeight;
    182     bool m_overset;
    183     bool m_hasRegionsWithStyling;
    184     bool m_dispatchRegionLayoutUpdateEvent;
    185     bool m_pageLogicalHeightChanged;
     178    bool m_hasValidRegions : 1;
     179    bool m_regionsInvalidated : 1;
     180    bool m_regionsHaveUniformLogicalWidth : 1;
     181    bool m_regionsHaveUniformLogicalHeight : 1;
     182    bool m_overset : 1;
     183    bool m_hasRegionsWithStyling : 1;
     184    bool m_dispatchRegionLayoutUpdateEvent : 1;
     185    bool m_pageLogicalHeightChanged : 1;
    186186};
    187187
Note: See TracChangeset for help on using the changeset viewer.