Summary: | Frame bytes should be determined by platform image decoder | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Hin-Chung Lam <hclam> | ||||||||||
Component: | Images | Assignee: | Hin-Chung Lam <hclam> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | dongseong.hwang, jamesr, nduca, nick, simon.fraser, skyul, vangelis, webkit.review.bot | ||||||||||
Priority: | P2 | ||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Bug Depends on: | |||||||||||||
Bug Blocks: | 94240 | ||||||||||||
Attachments: |
|
Description
Hin-Chung Lam
2012-08-16 12:56:10 PDT
Created attachment 158914 [details]
Patch
Created attachment 158917 [details]
Patch
Comment on attachment 158917 [details] Patch Attachment 158917 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/13514553 Created attachment 158966 [details]
Patch
(In reply to comment #4) > Created an attachment (id=158966) [details] > Patch > Source/WebCore/platform/image-decoders/ImageDecoder.cpp > 294 return m_size.width() * m_size.height() * 4; You can use IntSize::area(). How about m_size.area() * sizeof(PixelData)? Created attachment 159497 [details]
Patch
Comment on attachment 159497 [details] Patch Clearing flags on attachment: 159497 Committed r126892: <http://trac.webkit.org/changeset/126892> All reviewed patches have been landed. Closing bug. |