Changeset 196991 in webkit for trunk/Source/WebCore/ChangeLog


Ignore:
Timestamp:
Feb 23, 2016, 1:18:05 PM (10 years ago)
Author:
Simon Fraser
Message:

Lay the groundwork for more constness in StyleResolver-related code
https://bugs.webkit.org/show_bug.cgi?id=154598

Reviewed by Antti Koivisto.

Make some of the leaf functions that are used by the style resolver take
const CSSValues, and use 'auto' more to automatically get const stack variables
when appropriate.

  • css/CSSBorderImageSliceValue.h:

(WebCore::CSSBorderImageSliceValue::slices):

  • css/CSSPrimitiveValue.h:

(WebCore::CSSPrimitiveValue::isQuirkValue):

  • css/FontVariantBuilder.cpp:

(WebCore::extractFontVariantLigatures):
(WebCore::extractFontVariantNumeric):
(WebCore::extractFontVariantEastAsian):

  • css/FontVariantBuilder.h:
  • css/StyleBuilderConverter.h:

(WebCore::StyleBuilderConverter::convertReflection):
(WebCore::StyleBuilderConverter::convertGridAutoFlow):

  • css/StyleBuilderCustom.h:

(WebCore::StyleBuilderCustom::applyValueSize):
(WebCore::StyleBuilderCustom::applyValueStroke):

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::colorFromPrimitiveValueIsDerivedFromElement):
(WebCore::StyleResolver::colorFromPrimitiveValue):
(WebCore::StyleResolver::createFilterOperations):

  • css/StyleResolver.h:
  • css/TransformFunctions.cpp:

(WebCore::transformsForValue):

  • css/TransformFunctions.h:
  • rendering/style/StylePendingImage.h:
  • svg/SVGLength.cpp:

(WebCore::SVGLength::fromCSSPrimitiveValue):

  • svg/SVGLength.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r196983 r196991  
     12016-02-23  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Lay the groundwork for more constness in StyleResolver-related code
     4        https://bugs.webkit.org/show_bug.cgi?id=154598
     5
     6        Reviewed by Antti Koivisto.
     7
     8        Make some of the leaf functions that are used by the style resolver take
     9        const CSSValues, and use 'auto' more to automatically get const stack variables
     10        when appropriate.
     11
     12        * css/CSSBorderImageSliceValue.h:
     13        (WebCore::CSSBorderImageSliceValue::slices):
     14        * css/CSSPrimitiveValue.h:
     15        (WebCore::CSSPrimitiveValue::isQuirkValue):
     16        * css/FontVariantBuilder.cpp:
     17        (WebCore::extractFontVariantLigatures):
     18        (WebCore::extractFontVariantNumeric):
     19        (WebCore::extractFontVariantEastAsian):
     20        * css/FontVariantBuilder.h:
     21        * css/StyleBuilderConverter.h:
     22        (WebCore::StyleBuilderConverter::convertReflection):
     23        (WebCore::StyleBuilderConverter::convertGridAutoFlow):
     24        * css/StyleBuilderCustom.h:
     25        (WebCore::StyleBuilderCustom::applyValueSize):
     26        (WebCore::StyleBuilderCustom::applyValueStroke):
     27        * css/StyleResolver.cpp:
     28        (WebCore::StyleResolver::colorFromPrimitiveValueIsDerivedFromElement):
     29        (WebCore::StyleResolver::colorFromPrimitiveValue):
     30        (WebCore::StyleResolver::createFilterOperations):
     31        * css/StyleResolver.h:
     32        * css/TransformFunctions.cpp:
     33        (WebCore::transformsForValue):
     34        * css/TransformFunctions.h:
     35        * rendering/style/StylePendingImage.h:
     36        * svg/SVGLength.cpp:
     37        (WebCore::SVGLength::fromCSSPrimitiveValue):
     38        * svg/SVGLength.h:
     39
    1402016-02-23  Manuel Rego Casasnovas  <rego@igalia.com>
    241
Note: See TracChangeset for help on using the changeset viewer.