Changeset 225947 in webkit


Ignore:
Timestamp:
Dec 14, 2017 5:27:54 PM (6 years ago)
Author:
Simon Fraser
Message:

Another Windows build fix.

  • platform/graphics/cg/GraphicsContextCG.cpp:

(WebCore::extendedSRGBColorSpaceRef):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r225946 r225947  
     12017-12-14  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Another Windows build fix.
     4
     5        * platform/graphics/cg/GraphicsContextCG.cpp:
     6        (WebCore::extendedSRGBColorSpaceRef):
     7
    182017-12-14  Simon Fraser  <simon.fraser@apple.com>
    29
  • trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp

    r225946 r225947  
    115115{
    116116    auto createColorSpace = []() {
     117        CGColorSpaceRef colorSpace = NULL;
    117118#if PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200)
    118         CGColorSpaceRef colorSpace = CGColorSpaceCreateWithName(kCGColorSpaceExtendedSRGB);
     119        colorSpace = CGColorSpaceCreateWithName(kCGColorSpaceExtendedSRGB);
    119120#endif
    120121        // If there is no support for extended sRGB, fall back to sRGB.
Note: See TracChangeset for help on using the changeset viewer.