Changeset 85938 in webkit


Ignore:
Timestamp:
May 6, 2011 1:42:10 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-06 Luke Macpherson <macpherson@chromium.org>

Reviewed by Eric Seidel.

Make CSSStyleSelector::applyProperty() CSSPropertyWebkitColorCorrection case use appropriate macro.
https://bugs.webkit.org/show_bug.cgi?id=60339

No tests added as no functionality changed.

  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty): Use correct macro for CSSPropertySpeak.
  • rendering/style/RenderStyle.h: (WebCore::InheritedFlags::initialColorSpace): Add initialColorSpace() static method.
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r85936 r85938  
     12011-05-06  Luke Macpherson   <macpherson@chromium.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Make CSSStyleSelector::applyProperty() CSSPropertyWebkitColorCorrection case use appropriate macro.
     6        https://bugs.webkit.org/show_bug.cgi?id=60339
     7
     8        No tests added as no functionality changed.
     9
     10        * css/CSSStyleSelector.cpp:
     11        (WebCore::CSSStyleSelector::applyProperty):
     12        Use correct macro for CSSPropertySpeak.
     13        * rendering/style/RenderStyle.h:
     14        (WebCore::InheritedFlags::initialColorSpace):
     15        Add initialColorSpace() static method.
     16
    1172011-05-06  Luke Macpherson   <macpherson@chromium.org>
    218
  • trunk/Source/WebCore/css/CSSStyleSelector.cpp

    r85936 r85938  
    53985398    }
    53995399    case CSSPropertyWebkitColorCorrection:
    5400         if (isInherit)
    5401             m_style->setColorSpace(m_parentStyle->colorSpace());
    5402         else if (isInitial)
    5403             m_style->setColorSpace(ColorSpaceDeviceRGB);
    5404         else {
    5405             if (!primitiveValue)
    5406                 return;
    5407             m_style->setColorSpace(*primitiveValue);
    5408         }
     5400        HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE(colorSpace, ColorSpace);
    54095401        return;
    54105402    case CSSPropertySize:
  • trunk/Source/WebCore/rendering/style/RenderStyle.h

    r85936 r85938  
    12181218    static ECaptionSide initialCaptionSide() { return CAPTOP; }
    12191219    static EClear initialClear() { return CNONE; }
     1220    static ColorSpace initialColorSpace() { return ColorSpaceDeviceRGB; }
    12201221    static TextDirection initialDirection() { return LTR; }
    12211222    static WritingMode initialWritingMode() { return TopToBottomWritingMode; }
Note: See TracChangeset for help on using the changeset viewer.