Bug 20315: Memory leak with Canvas getImageData
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Oct 2008 05:02:00 +0000 (05:02 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Oct 2008 05:02:00 +0000 (05:02 +0000)
commit3cd37dd5845d642a4b2d6f1df81ce2a53a84755a
tree1859701a31ff04fd2945689042c47b9557cd434c
parente009b32c1ab9780ea289e0228f43b831bddff777
Bug 20315: Memory leak with Canvas getImageData
<https://bugs.webkit.org/show_bug.cgi?id=20315>

Reviewed by Maciej Stachowiak

This wasn't a leak, the issue was that we were reporting the cost
of the CanvasPixelArray when creating the JSCanvasPixelArray wrapper
and we should have been reporting the cost when we create the
JSImageData wrapper.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37181 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/js/JSCanvasPixelArrayCustom.cpp [deleted file]
WebCore/bindings/js/JSImageDataCustom.cpp [new file with mode: 0644]
WebCore/bindings/scripts/CodeGeneratorJS.pm
WebCore/html/CanvasPixelArray.idl
WebCore/html/ImageData.idl