Rapidly refreshing a feMorphology[erode] with r=0 can sometimes cause display corruption
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Sep 2011 20:54:16 +0000 (20:54 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Sep 2011 20:54:16 +0000 (20:54 +0000)
commit733832e0e0ed2fcec462ec4152da2c5ac4fcc0c6
treeb5252e67a06468461bfefd85cc2b1161dff51aa0
parentfec43b8aff1c8cb94dbc521ea8f323336688b526
Rapidly refreshing a feMorphology[erode] with r=0 can sometimes cause display corruption
https://bugs.webkit.org/show_bug.cgi?id=68816
<rdar://problem/10186468>

Reviewed by Simon Fraser.

If a filter returns without writing into its result buffer, make sure to return an cleared buffer.

Test: svg/filters/feMorphology-zero-radius.svg

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/svg/filters/feMorphology-zero-radius-expected.png [new file with mode: 0644]
LayoutTests/svg/filters/feMorphology-zero-radius-expected.txt [new file with mode: 0644]
LayoutTests/svg/filters/feMorphology-zero-radius.svg [new file with mode: 0644]
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/wtf/ByteArray.h
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/filters/FEMorphology.cpp
Source/WebCore/platform/graphics/filters/FETurbulence.cpp