Changeset 140473 in webkit


Ignore:
Timestamp:
Jan 22, 2013 2:46:35 PM (11 years ago)
Author:
hclam@chromium.org
Message:

Make CompactHTMLToken a little more compact
https://bugs.webkit.org/show_bug.cgi?id=107317

Patch by Eric Seidel <eric@webkit.org> on 2013-01-22
Reviewed by Adam Barth.

The windows builders got sad because MSVC won't combine
adjacent bit-fields with different types. Changing
bool to unsigned should fix the problem.

  • html/parser/CompactHTMLToken.h:

(CompactHTMLToken):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r140470 r140473  
     12013-01-22  Eric Seidel  <eric@webkit.org>
     2
     3        Make CompactHTMLToken a little more compact
     4        https://bugs.webkit.org/show_bug.cgi?id=107317
     5
     6        Reviewed by Adam Barth.
     7
     8        The windows builders got sad because MSVC won't combine
     9        adjacent bit-fields with different types.  Changing
     10        bool to unsigned should fix the problem.
     11
     12        * html/parser/CompactHTMLToken.h:
     13        (CompactHTMLToken):
     14
    1152013-01-22  Anthony Scian  <ascian@rim.com>
    216
  • trunk/Source/WebCore/html/parser/CompactHTMLToken.h

    r140467 r140473  
    7575private:
    7676    unsigned m_type : 4;
    77     bool m_selfClosing : 1;
     77    unsigned m_selfClosing : 1;
    7878
    7979    String m_data; // "name", "characters", or "data" depending on m_type
Note: See TracChangeset for help on using the changeset viewer.