Bug 45360

Summary: chromium/mac: Fix overrelease in ImageLayerChromium
Product: WebKit Reporter: Nico Weber <thakis>
Component: New BugsAssignee: Nico Weber <thakis>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dglazkov, kbr, vangelis
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch
none
Patch none

Description Nico Weber 2010-09-07 19:42:24 PDT
chromium/mac: Fix overrelease in ImageLayerChromium
Comment 1 Nico Weber 2010-09-07 19:43:40 PDT
Created attachment 66831 [details]
Patch
Comment 2 Kenneth Russell 2010-09-07 19:51:50 PDT
Comment on attachment 66831 [details]
Patch

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

> WebCore/platform/graphics/chromium/ImageLayerChromium.cpp:112
> +    CGColorSpaceRef> colorSpace = CGImageGetColorSpace(cgImage);
Um, does this compile? If not, how was this fix tested?
Comment 3 Nico Weber 2010-09-07 19:59:30 PDT
Created attachment 66835 [details]
Patch
Comment 4 Nico Weber 2010-09-07 20:01:15 PDT
(In reply to comment #2)
> (From update of attachment 66831 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=66831&action=prettypatch
> 
> > WebCore/platform/graphics/chromium/ImageLayerChromium.cpp:112
> > +    CGColorSpaceRef> colorSpace = CGImageGetColorSpace(cgImage);
> Um, does this compile? If not, how was this fix tested?

Oops :-)

I have a very sophisticated system where I do my changes in third_party/WebKit/WebCore for developing / testing and then I have a separate git WebKit checkout I upload my patches from. I copied the patch over to early and then tried to manually redo what I changed to get this to compile. Looks like I missed one place. Fixed.
Comment 5 Dimitri Glazkov (Google) 2010-09-08 10:57:41 PDT
Comment on attachment 66835 [details]
Patch

I _think_ I understand what you're doing here.
Comment 6 WebKit Commit Bot 2010-09-08 14:26:27 PDT
Comment on attachment 66835 [details]
Patch

Clearing flags on attachment: 66835

Committed r67015: <http://trac.webkit.org/changeset/67015>
Comment 7 WebKit Commit Bot 2010-09-08 14:26:31 PDT
All reviewed patches have been landed.  Closing bug.