[Webkit-unassigned] [Bug 30304] struct RGBA32Buffer is twice as big as the old ImageData of Qt

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 22 16:15:44 PST 2009


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


Eric Seidel <eric at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #41472|review?                     |review+
               Flag|                            |




--- Comment #22 from Eric Seidel <eric at webkit.org>  2009-12-22 16:15:43 PST ---
(From update of attachment 41472)
I think  170         uint8_t m_disposalMethod;
can just be a FrameDisposalMethod
the need to use unsigned, etc, comes from bitfields, or from the fact that some
compilers default enums to being signed.  But here it doesn't seem to be an
issue.  BUt if you're rathe rleave it as uint for consistence, I guess that's
fine too.

Not to jump back into the previous discussion, but I'm confused why this isn't
const:
 401     IntRect& rect = m_rects[frameIndex];

rect.contains() is a const method, no?

I think you meant 8 for both of these:
36 COMPILE_ASSERT(RGBA32Buffer::FrameStatusLast < 256, FrameStatusFitsIn8Byte);
 37 COMPILE_ASSERT(RGBA32Buffer::DisposeLast < 256, DisposeLastFitsIn9Byte);

This seems fine though.

-- 
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