CTTE: RenderSVGResourceClipper always has an SVGClipPathElement.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Sep 2013 06:45:39 +0000 (06:45 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Sep 2013 06:45:39 +0000 (06:45 +0000)
commit309c4e4783d95bd03bdc755c0d771b1a42c4d9a2
treedbc2e1e3f75068c6921bc8cbae2f1cde07686546
parent590b4ca4675b808036d9b031fd6554d55775206d
CTTE: RenderSVGResourceClipper always has an SVGClipPathElement.
<https://webkit.org/b/121349>

Reviewed by Darin Adler.

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

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