Bug 61684

Summary: CG BitmapImage needs to check for valid CGImage in a couple of places
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mitz: review+

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