CTTE: RenderSVGResourceFilter always has an SVGFilterElement.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Sep 2013 06:37:30 +0000 (06:37 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Sep 2013 06:37:30 +0000 (06:37 +0000)
commit590b4ca4675b808036d9b031fd6554d55775206d
tree07b9892f98856e1717b2d8a0c78a245a99c1cd99
parent2323e4587d4ed5bf36aa81f383ef65f828e24583
CTTE: RenderSVGResourceFilter always has an SVGFilterElement.
<https://webkit.org/b/121348>

Reviewed by Darin Adler.

This renderer is never anonymous. Tighten things up with a filterElement()
reference getter. Removed some unnecessary null checks and type casts.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/svg/RenderSVGResourceFilter.cpp
Source/WebCore/rendering/svg/RenderSVGResourceFilter.h
Source/WebCore/rendering/svg/SVGResources.cpp
Source/WebCore/svg/SVGFilterElement.cpp