Changeset 246286 in webkit


Ignore:
Timestamp:
Jun 10, 2019 3:18:53 PM (5 years ago)
Author:
Michael Catanzaro
Message:

[GTK] 2.25.1 does not build on 32-bit ARM due to bit-packing assertion, requires -DENABLE_DARK_MODE_CSS=OFF
https://bugs.webkit.org/show_bug.cgi?id=198274

Reviewed by Timothy Hatcher.

Rather than reorder everything in StyleRareInheritedData, let's slightly increase the size
of GreaterThanOrSameSizeAsStyleRareInheritedData to allow the static assert to pass.

At the same time, remove an obsolote iOS-specific member that is probably no longer needed.

  • rendering/style/StyleRareInheritedData.cpp:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r246285 r246286  
     12019-06-10  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        [GTK] 2.25.1 does not build on 32-bit ARM due to bit-packing assertion, requires -DENABLE_DARK_MODE_CSS=OFF
     4        https://bugs.webkit.org/show_bug.cgi?id=198274
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        Rather than reorder everything in StyleRareInheritedData, let's slightly increase the size
     9        of GreaterThanOrSameSizeAsStyleRareInheritedData to allow the static assert to pass.
     10
     11        At the same time, remove an obsolote iOS-specific member that is probably no longer needed.
     12
     13        * rendering/style/StyleRareInheritedData.cpp:
     14
    1152019-06-10  Sam Weinig  <weinig@apple.com>
    216
  • trunk/Source/WebCore/rendering/style/StyleRareInheritedData.cpp

    r246193 r246286  
    4949    TextUnderlineOffset offset;
    5050    TextDecorationThickness thickness;
     51    void* customPropertyDataRefs[1];
    5152    unsigned bitfields[4];
    5253    short pagedMediaShorts[2];
     
    5455    short hyphenationShorts[3];
    5556
    56 #if PLATFORM(IOS_FAMILY)
    57     Color compositionColor; // FIXME: this has gone.
    58 #endif
    5957#if ENABLE(TEXT_AUTOSIZING)
    6058    TextSizeAdjustment textSizeAdjust;
     
    7270    StyleColorScheme colorScheme;
    7371#endif
    74 
    75     void* customPropertyDataRefs[1];
    7672};
    7773
Note: See TracChangeset for help on using the changeset viewer.