Bug 103401 - Inline ImageFrame width() and height()
Summary: Inline ImageFrame width() and height()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: noel gordon
URL:
Keywords:
Depends on:
Blocks: 88424
  Show dependency treegraph
 
Reported: 2012-11-27 05:01 PST by noel gordon
Modified: 2012-11-28 00:07 PST (History)
3 users (show)

See Also:


Attachments
Patch (3.55 KB, patch)
2012-11-27 05:20 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 2012-11-27 05:01:04 PST
Per https://bugs.webkit.org/show_bug.cgi?id=88424#c38, we should inline ImageFrame width() and height().
Comment 1 noel gordon 2012-11-27 05:20:39 PST
Created attachment 176241 [details]
Patch
Comment 2 Brent Fulgham 2012-11-27 21:21:53 PST
Comment on attachment 176241 [details]
Patch

Looks great. r=me.
Comment 3 WebKit Review Bot 2012-11-27 21:25:03 PST
Comment on attachment 176241 [details]
Patch

Clearing flags on attachment: 176241

Committed r135971: <http://trac.webkit.org/changeset/135971>
Comment 4 WebKit Review Bot 2012-11-27 21:25:05 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Chris Dumez 2012-11-27 23:42:20 PST
Comment on attachment 176241 [details]
Patch

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

> Source/WebCore/platform/image-decoders/ImageDecoder.h:199
> +            return m_size.width();

Oh oh. Should be height, not width. This is causing a lot of failures.
Comment 6 Brent Fulgham 2012-11-27 23:44:04 PST
Comment on attachment 176241 [details]
Patch

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

>> Source/WebCore/platform/image-decoders/ImageDecoder.h:199
>> +            return m_size.width();
> 
> Oh oh. Should be height, not width. This is causing a lot of failures.

Doh!  How did I miss this.  :-(  Mea culpa.
Comment 7 Zan Dobersek 2012-11-28 00:07:45 PST
(In reply to comment #5)
> (From update of attachment 176241 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=176241&action=review
> 
> > Source/WebCore/platform/image-decoders/ImageDecoder.h:199
> > +            return m_size.width();
> 
> Oh oh. Should be height, not width. This is causing a lot of failures.

Just to address this, it has been fixed in r135980.
http://trac.webkit.org/changeset/135980