Fixed <rdar://problem/4127061> <canvas> backing store should be zero filled
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 May 2005 01:33:22 +0000 (01:33 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 May 2005 01:33:22 +0000 (01:33 +0000)
commit39ffc1bbf3b8b7a5858cc9b10100128d8594587d
treead1eb77ae557680075af0bdea5c346a85ce77d39
parent0e6c7ff1e4de075a9e9b1866021e80abe5126e05
Fixed <rdar://problem/4127061> <canvas> backing store should be zero filled

Use calloc instead of malloc to ensure zero filled backing store.

        Reviewed by Darin.

        * khtml/rendering/render_canvasimage.cpp:
        (RenderCanvasImage::createDrawingContext):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9213 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/rendering/render_canvasimage.cpp