[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 Oct 20 11:56:35 PDT 2009


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





--- Comment #11 from Peter Kasting <pkasting at google.com>  2009-10-20 11:56:34 PDT ---
(In reply to comment #10)
> How would you change it? Going for pointers?
> 
> RGA32Buffer* buffer = &m_frameBuffer..
> buffer->setFoo(foo);

Sure, that'd be fine

> IntRect* rect = &m_Rects
> rect->operator=(*newRect);
> *rect = *newRect?

"*rect = *newRect", please, not "rect->operator=(*newRect)"

> or make frameIndex const in the method body and use m_rects[frameIndex] =
> newRect?

This is good too

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