Changeset 197699 in webkit
- Timestamp:
- Mar 7, 2016, 12:33:22 PM (9 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r197698 r197699 1 2016-03-07 Simon Fraser <simon.fraser@apple.com> 2 3 Use CGColorSpaceCopyICCData instead of CGColorSpaceCopyICCProfile 4 https://bugs.webkit.org/show_bug.cgi?id=155123 5 rdar://problem/24990256 6 7 Reviewed by Tim Horton. 8 9 On newer OSes, use CGColorSpaceCopyICCData(). 10 11 * Shared/mac/ColorSpaceData.mm: 12 (WebKit::ColorSpaceData::encode): 13 1 14 2016-03-07 Gavin Barraclough <barraclough@apple.com> 2 15 -
trunk/Source/WebKit2/Shared/mac/ColorSpaceData.mm
r161148 r197699 51 51 52 52 // Failing that, just encode the ICC data. 53 if (RetainPtr<CFDataRef> profileData = adoptCF(CGColorSpaceCopyICCProfile(cgColorSpace.get()))) { 53 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200 54 RetainPtr<CFDataRef> profileData = adoptCF(CGColorSpaceCopyICCData(cgColorSpace.get())); 55 #else 56 RetainPtr<CFDataRef> profileData = adoptCF(CGColorSpaceCopyICCProfile(cgColorSpace.get())); 57 #endif 58 if (profileData) { 54 59 encoder.encodeEnum(Data); 55 60 IPC::encode(encoder, profileData.get());
Note:
See TracChangeset
for help on using the changeset viewer.