Bug 61684 - CG BitmapImage needs to check for valid CGImage in a couple of places
Summary: CG BitmapImage needs to check for valid CGImage in a couple of places
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-05-27 21:10 PDT by Simon Fraser (smfr)
Modified: 2011-05-27 21:19 PDT (History)
1 user (show)

See Also:


Attachments
Patch (2.19 KB, patch)
2011-05-27 21:13 PDT, Simon Fraser (smfr)
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2011-05-27 21:10:08 PDT
CG BitMap image needs to check for valid CGImage in a couple of places
Comment 1 Simon Fraser (smfr) 2011-05-27 21:11:03 PDT
<rdar://problem/9519348>
Comment 2 Simon Fraser (smfr) 2011-05-27 21:13:46 PDT
Created attachment 95253 [details]
Patch
Comment 3 mitz 2011-05-27 21:15:38 PDT
Comment on attachment 95253 [details]
Patch

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

> Source/WebCore/platform/graphics/cg/ImageCG.cpp:166
>  

Hopefully callers to getFirstCGImageRefOfSize() know to expect 0.
Comment 4 Simon Fraser (smfr) 2011-05-27 21:19:10 PDT
http://trac.webkit.org/changeset/87598