Bug 97616 - Load the linearized sRGB profile via NSData instead of CoreFoundation
Summary: Load the linearized sRGB profile via NSData instead of CoreFoundation
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-25 16:01 PDT by Tim Horton
Modified: 2012-09-25 16:38 PDT (History)
1 user (show)

See Also:


Attachments
patch (3.86 KB, patch)
2012-09-25 16:04 PDT, Tim Horton
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2012-09-25 16:01:41 PDT
Load the linearized sRGB profile via NSData instead of CoreFoundation.

I have a patch.
Comment 1 Tim Horton 2012-09-25 16:04:09 PDT
Created attachment 165694 [details]
patch
Comment 2 mitz 2012-09-25 16:27:45 PDT
Comment on attachment 165694 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=165694&action=review

> Source/WebCore/platform/graphics/mac/GraphicsContextMac.mm:193
> +        linearSRGBSpace = CGColorSpaceCreateWithICCProfile((CFDataRef) iccProfileData.get());

Extra space after (CFDataRef).
Comment 3 Tim Horton 2012-09-25 16:38:15 PDT
http://trac.webkit.org/changeset/129573