RESOLVED FIXED 52363
Rename RGBA32Buffer to ImageFrame
https://bugs.webkit.org/show_bug.cgi?id=52363
Summary Rename RGBA32Buffer to ImageFrame
Adam Barth
Reported 2011-01-13 03:02:48 PST
Rename RGBA32Buffer to DecodedImage
Attachments
Patch (64.31 KB, patch)
2011-01-13 03:04 PST, Adam Barth
no flags
Patch (65.38 KB, patch)
2011-01-13 15:07 PST, Adam Barth
eric: review+
Adam Barth
Comment 1 2011-01-13 03:04:39 PST
WebKit Review Bot
Comment 2 2011-01-13 03:06:40 PST
Attachment 78793 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/platform/image-decoders/gif/GIFImageDecoder.h:61: The parameter name "disposalMethod" adds no information, so it should be removed. [readability/parameter_name] [5] Source/WebCore/platform/image-decoders/gif/GIFImageReader.h:104: disposal_method is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Total errors found: 2 in 30 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Review Bot
Comment 3 2011-01-13 03:09:08 PST
Eric Seidel (no email)
Comment 4 2011-01-13 03:40:35 PST
Comment on attachment 78793 [details] Patch rs=me.
WebKit Review Bot
Comment 5 2011-01-13 04:21:03 PST
Peter Kasting
Comment 6 2011-01-13 10:35:23 PST
Are you sure about DecodedImage? I had been thinking of using ImageFrame, which I thought would be clearer in the case of animated images that contain multiple frames (where one might assume the "DecodedImage" contained all frames). I also wanted to move this class to platform/graphics at some point.
Adam Barth
Comment 7 2011-01-13 12:33:15 PST
> Are you sure about DecodedImage? Nope! That's why I posted it for review. :) > I had been thinking of using ImageFrame, which I thought would be clearer in the case of animated images that contain multiple frames (where one might assume the "DecodedImage" contained all frames). Is ImageFrame better than FrameBuffer? That's what a bunch of methods are called now. > I also wanted to move this class to platform/graphics at some point. Yes! All in good time.
Peter Kasting
Comment 8 2011-01-13 13:02:28 PST
(In reply to comment #7) > > I had been thinking of using ImageFrame, which I thought would be clearer in the case of animated images that contain multiple frames (where one might assume the "DecodedImage" contained all frames). > > Is ImageFrame better than FrameBuffer? That's what a bunch of methods are called now. Well, it's more consistent with other "ImageXXX" class names. I'm not sure how meaningful "buffer" is. But the biggest problem with the original name was the "RGBA32" part.
Adam Barth
Comment 9 2011-01-13 15:01:48 PST
ImageFrame it is.
Adam Barth
Comment 10 2011-01-13 15:07:11 PST
WebKit Review Bot
Comment 11 2011-01-13 15:09:17 PST
Attachment 78861 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/platform/image-decoders/gif/GIFImageDecoder.h:61: The parameter name "disposalMethod" adds no information, so it should be removed. [readability/parameter_name] [5] Source/WebCore/platform/image-decoders/gif/GIFImageReader.h:104: disposal_method is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Total errors found: 2 in 32 files If any of these errors are false positives, please file a bug against check-webkit-style.
Adam Barth
Comment 12 2011-01-13 15:55:43 PST
Daniel Bates
Comment 13 2011-01-13 16:02:17 PST
Renamed bug title so that it is consistent with the bug title mentioned in the change log entry for changeset 75748 <http://trac.webkit.org/changeset/75748>.
Adam Barth
Comment 14 2011-01-13 16:07:12 PST
Thanks Dan.
Note You need to log in before you can comment on or make changes to this bug.