CTTE: RenderSVGResourceMasker always has an SVGMaskElement.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Sep 2013 06:29:13 +0000 (06:29 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Sep 2013 06:29:13 +0000 (06:29 +0000)
commit5289273c9cdb6d586faf8d864d64e8dfff0b970b
tree4e822d587b47b1aaf997c79c22533c96b69a3fa0
parente5d7d2da75ae0823a04342d189c0d468d0f066e6
CTTE: RenderSVGResourceMasker always has an SVGMaskElement.
<https://webkit.org/b/121344>

Reviewed by Brent Fulgham.

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

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