Bug 73796 - WebPImageDecoder computes image width and height multiple times
Summary: WebPImageDecoder computes image width and height multiple times
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: noel gordon
URL:
Keywords:
Depends on:
Blocks: 58851
  Show dependency treegraph
 
Reported: 2011-12-04 20:38 PST by noel gordon
Modified: 2011-12-06 12:48 PST (History)
3 users (show)

See Also:


Attachments
Patch (3.94 KB, patch)
2011-12-04 20:43 PST, noel gordon
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description noel gordon 2011-12-04 20:38:22 PST
The decoded image height and width are constants, so read them once rather than multiple times.
Comment 1 noel gordon 2011-12-04 20:43:24 PST
Created attachment 117834 [details]
Patch
Comment 2 WebKit Review Bot 2011-12-06 11:29:58 PST
Comment on attachment 117834 [details]
Patch

Clearing flags on attachment: 117834

Committed r102158: <http://trac.webkit.org/changeset/102158>
Comment 3 WebKit Review Bot 2011-12-06 11:30:02 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Pascal Massimino 2011-12-06 12:48:59 PST
LGTM.