[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
Wed Oct 28 09:20:17 PDT 2009


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





--- Comment #13 from Darin Adler <darin at apple.com>  2009-10-28 09:20:16 PDT ---
(From update of attachment 42028)
> +    RGBA32Buffer* const buffer = &m_frameBufferCache[frameIndex];
> +    IntRect* const rect = &m_rects[frameIndex];

It seems a little strange to use const here, even though references can't be
rebound and hence are const-like. We don't normally mark local variables const
even though the vast majority of them are indeed not modified from their
initial values and could be marked const if we thought there was significant
benefit.

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