Bug 45360 - chromium/mac: Fix overrelease in ImageLayerChromium
Summary: chromium/mac: Fix overrelease in ImageLayerChromium
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Nico Weber
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-07 19:42 PDT by Nico Weber
Modified: 2010-09-08 14:26 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.64 KB, patch)
2010-09-07 19:43 PDT, Nico Weber
no flags Details | Formatted Diff | Diff
Patch (2.64 KB, patch)
2010-09-07 19:59 PDT, Nico Weber
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.