WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
28785
ImageDecoderFoo.cpp contains lots of copy & pasted code and should be refactored
https://bugs.webkit.org/show_bug.cgi?id=28785
Summary
ImageDecoderFoo.cpp contains lots of copy & pasted code and should be refactored
Peter Kasting
Reported
2009-08-27 14:24:10 PDT
Similar to
bug 27965
. Skia and Qt are the odd platforms out; for now the others should use common implementations of this stuff.
Attachments
Prep work before moving functions into ImageDecoder.cpp
(7.97 KB, patch)
2009-08-27 14:27 PDT
,
Peter Kasting
no flags
Details
Formatted Diff
Diff
Refactor
(10.29 KB, patch)
2009-08-27 16:35 PDT
,
Peter Kasting
eric
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Peter Kasting
Comment 1
2009-08-27 14:27:32 PDT
Created
attachment 38687
[details]
Prep work before moving functions into ImageDecoder.cpp
Eric Seidel (no email)
Comment 2
2009-08-27 14:32:48 PDT
Comment on
attachment 38687
[details]
Prep work before moving functions into ImageDecoder.cpp LGTM.
Peter Kasting
Comment 3
2009-08-27 14:38:49 PDT
Comment on
attachment 38687
[details]
Prep work before moving functions into ImageDecoder.cpp Landed in
r47836
, clearing flags.
Peter Kasting
Comment 4
2009-08-27 16:35:58 PDT
Created
attachment 38696
[details]
Refactor Yay for removing duplicate copies of code.
Eric Seidel (no email)
Comment 5
2009-08-27 18:04:59 PDT
Comment on
attachment 38696
[details]
Refactor Why wouldn't we just move this into an RGBABuffer.cpp? This is definitely better than before, but we generally try to do one-class per file.
Peter Kasting
Comment 6
2009-08-28 10:37:52 PDT
(In reply to
comment #5
)
> (From update of
attachment 38696
[details]
) > Why wouldn't we just move this into an RGBABuffer.cpp? This is definitely > better than before, but we generally try to do one-class per file.
Yes, my eventual plan is to move this into a different file, in a different folder, with a different name.
Peter Kasting
Comment 7
2009-08-28 11:00:55 PDT
Fixed in
r47867
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug