Move setPseudoStyle() to RenderImage (from RenderElement.)
[WebKit-https.git] / Source / WebCore / rendering / RenderImage.h
index ea3eac0..3dc9db1 100644 (file)
@@ -40,6 +40,9 @@ public:
 
     static RenderImage* createAnonymous(Document&);
 
+    // Set the style of the object if it's generated content.
+    void setPseudoStyle(PassRefPtr<RenderStyle>);
+
     void setImageResource(PassOwnPtr<RenderImageResource>);
 
     RenderImageResource* imageResource() { return m_imageResource.get(); }