[CTTE] RenderHTMLCanvas's element is always a HTMLCanvasElement.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Sep 2013 05:11:18 +0000 (05:11 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Sep 2013 05:11:18 +0000 (05:11 +0000)
commitdecd7fb94a609e80decf87a3f4fe1a1c84fe3366
tree80f7f68ee9ccfc0bff2cdacdb68aef19ec7eebee
parenta7b4983f98cee09e6f9145aa5224a778610fd10b
[CTTE] RenderHTMLCanvas's element is always a HTMLCanvasElement.
<https://webkit.org/b/121272>

Reviewed by Anders Carlsson.

Add RenderHTMLCanvas::canvasElement(), hiding element().
This function also returns a reference since this renderer cannot be anonymous.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLCanvasElement.cpp
Source/WebCore/rendering/RenderHTMLCanvas.cpp
Source/WebCore/rendering/RenderHTMLCanvas.h