Changeset 240310 in webkit


Ignore:
Timestamp:
Jan 22, 2019 4:37:30 PM (5 years ago)
Author:
Michael Catanzaro
Message:

Unreviewed, fix -Wsign-compare warning
https://bugs.webkit.org/show_bug.cgi?id=188697
<rdar://problem/46105624>

  • css/StyleProperties.cpp:

(WebCore::StyleProperties::asText const):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r240309 r240310  
     12019-01-22  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        Unreviewed, fix -Wsign-compare warning
     4        https://bugs.webkit.org/show_bug.cgi?id=188697
     5        <rdar://problem/46105624>
     6
     7        * css/StyleProperties.cpp:
     8        (WebCore::StyleProperties::asText const):
     9
    1102019-01-22  Devin Rousso  <drousso@apple.com>
    211
  • trunk/Source/WebCore/css/StyleProperties.cpp

    r240251 r240310  
    980980        auto serializeBorderShorthand = [&] (const CSSPropertyID borderProperty, const CSSPropertyID fallbackProperty) {
    981981            // FIXME: Deal with cases where only some of border sides are specified.
    982             ASSERT(borderProperty - firstCSSProperty < shorthandPropertyAppeared.size());
     982            ASSERT(borderProperty - firstCSSProperty < static_cast<CSSPropertyID>(shorthandPropertyAppeared.size()));
    983983            if (!shorthandPropertyAppeared[borderProperty - firstCSSProperty] && isEnabledCSSProperty(borderProperty)) {
    984984                value = getPropertyValue(borderProperty);
Note: See TracChangeset for help on using the changeset viewer.