Bug 159297

Summary: [image-decoders] Make ImageDecoder::size() lazily decode the image if needed to return a valid size
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, tonikitoo
Priority: P2    
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=159089
Attachments:
Description Flags
Patch tonikitoo: review+

Description Carlos Garcia Campos 2016-06-30 06:42:25 PDT
It's otherwise confusing leading to bugs like #159089.
Comment 1 Carlos Garcia Campos 2016-06-30 06:46:32 PDT
Created attachment 282434 [details]
Patch
Comment 2 Said Abou-Hallawa 2016-06-30 12:28:14 PDT
Comment on attachment 282434 [details]
Patch

Looks good to me. Unofficial r=me.
Comment 3 Antonio Gomes 2016-06-30 12:36:57 PDT
Comment on attachment 282434 [details]
Patch

Thanks Said.
Comment 4 Carlos Garcia Campos 2016-07-03 23:31:10 PDT
Committed r202800: <http://trac.webkit.org/changeset/202800>