[Webkit-unassigned] [Bug 39212] ImageData.data should be a CanvasPixelArray object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 17 15:37:18 PDT 2010


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





--- Comment #5 from Oliver Hunt <oliver at apple.com>  2010-05-17 15:37:17 PST ---
On the assumption that you're wanting to make a CPA instance claim to be an instanceof CanvasPixelArray you'll just want to make the logic that creates a CPA specify use the prototype from the CanvasPixelArray constructor, and set the constructor property on the CPA appropriately.

That said, you clearly are not testing performance of your change -- even the most rudimentary tests would have shown a huge (if memory serves ~5-10x) regression in read/write access to the cpa data.

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