[Webkit-unassigned] [Bug 27561] ImageDecoder enhancements for WINCE port

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 22 14:35:47 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27561


Peter Kasting <pkasting at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pkasting at google.com




--- Comment #2 from Peter Kasting <pkasting at google.com>  2009-07-22 14:35:47 PDT ---
A few comments:

* Can you break this into distinct patches for the different pieces here?  This
patch is very large and hard to review.

* You don't include ImageFrameSink.*, so no one can actually compile or use
this.

* "#if PLATFORM (WINCE)" and similar all over, especially with "#else <existing
code>", really sucks for readability.  Making this worse is the fact that
frequently the two blocks of code are very similar or even share many common
parts, and differ only slightly.  A combination of helper functions and
subclasses seems like it could do this much more readably.

* goto?  Really?  It doesn't look necessary at all (a helper function plus a
"continue;" would have served just as well).

Overall it seems like these capabilities should be added to the existing code
in a way that blends more seamlessly and is usable by any port.  If I can
manage to get back to working on Image system cleanup, maybe we can find a way
of doing that stepwise.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list