Move setPseudoStyle() to RenderImage (from RenderElement.)
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 13 Oct 2013 15:56:39 +0000 (15:56 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 13 Oct 2013 15:56:39 +0000 (15:56 +0000)
commitecf79dec14e6d1bed0af6bbb26ec476082b46ca3
treea0d82b7181cce7b8c2672cf97767666dd552edf0
parent25c57b811d5d0d4eddb924bb9328dcf8c953014b
Move setPseudoStyle() to RenderImage (from RenderElement.)
<https://webkit.org/b/122726>

Reviewed by Antti Koivisto.

Only RenderImages ever use setPseudoStyle() so move it there and
remove the non-image codepath.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/PseudoElement.cpp
Source/WebCore/rendering/RenderElement.cpp
Source/WebCore/rendering/RenderElement.h
Source/WebCore/rendering/RenderImage.cpp
Source/WebCore/rendering/RenderImage.h