Bug 17954: Canvas arc() with radius of 0 throws exception
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Mar 2008 22:28:07 +0000 (22:28 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Mar 2008 22:28:07 +0000 (22:28 +0000)
commitdfb49588aaba72ee635fe81170eb76f61287a7ff
treeb2b7573b3c63435f25389aa243506e07b3b81e4f
parent6437ad5e40cdc239042a0d99728bc6d0fa33cf70
Bug 17954: Canvas arc() with radius of 0 throws exception
http://bugs.webkit.org/show_bug.cgi?id=17954

Reviewed by Antti

Simple fix -- use >= instead of > when validating the radius.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@31162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/canvas/canvas-with-incorrect-args-expected.txt
LayoutTests/fast/canvas/canvas-with-incorrect-args.html
WebCore/ChangeLog
WebCore/html/CanvasRenderingContext2D.cpp