Changeset 192194 in webkit
- Timestamp:
- Nov 9, 2015 5:10:51 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r192193 r192194 1 2015-11-09 Simon Fraser <simon.fraser@apple.com> 2 3 Allow iOS to create linearRGB colorspaces 4 https://bugs.webkit.org/show_bug.cgi?id=151059 5 6 Reviewed by Tim Horton. 7 8 Remove iOS #ifdefs around code that creates linearized RGB colorspaces, as used 9 by SVG filters. Blending doesn't actually work correctly, but there's no reason 10 to #ifdef differently here. 11 12 * platform/graphics/cg/GraphicsContextCG.cpp: 13 * platform/graphics/mac/GraphicsContextMac.mm: 14 (WebCore::linearRGBColorSpaceRef): 15 1 16 2015-11-09 Wenson Hsieh <wenson_hsieh@apple.com> 2 17 -
trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp
r192140 r192194 52 52 #endif 53 53 54 #if PLATFORM(IOS)55 #include <wtf/HashMap.h>56 #endif57 58 54 // FIXME: The following using declaration should be in <wtf/HashFunctions.h>. 59 55 using WTF::pairIntHash; … … 94 90 } 95 91 96 #if PLATFORM(WIN) || PLATFORM(IOS)92 #if PLATFORM(WIN) 97 93 CGColorSpaceRef linearRGBColorSpaceRef() 98 94 { -
trunk/Source/WebCore/platform/graphics/mac/GraphicsContextMac.mm
r191489 r192194 293 293 } 294 294 295 #if !PLATFORM(IOS)296 295 CGColorSpaceRef linearRGBColorSpaceRef() 297 296 { 298 static CGColorSpaceRef linearSRGBSpace = 0;297 static CGColorSpaceRef linearSRGBSpace = nullptr; 299 298 300 299 if (linearSRGBSpace) … … 313 312 return linearSRGBSpace; 314 313 } 315 #endif 316 317 } 314 315 }
Note: See TracChangeset
for help on using the changeset viewer.