| Index: Source/core/rendering/RenderImage.h
|
| diff --git a/Source/core/rendering/RenderImage.h b/Source/core/rendering/RenderImage.h
|
| index 33adcf0adde82c3bdc3609b9b85c75bc784c940e..f1a26af446041d2f441710a202728f6cdc93e57b 100644
|
| --- a/Source/core/rendering/RenderImage.h
|
| +++ b/Source/core/rendering/RenderImage.h
|
| @@ -35,6 +35,10 @@ class HTMLMapElement;
|
|
|
| class RenderImage : public RenderReplaced {
|
| public:
|
| + // These are the paddings to use when displaying either alt text or an image.
|
| + static const unsigned short paddingWidth = 4;
|
| + static const unsigned short paddingHeight = 4;
|
| +
|
| RenderImage(Element*);
|
| virtual ~RenderImage();
|
| virtual void destroy() OVERRIDE;
|
| @@ -78,7 +82,6 @@ protected:
|
|
|
| virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE;
|
|
|
| - void paintIntoRect(GraphicsContext*, const LayoutRect&);
|
| virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL;
|
| virtual void layout() OVERRIDE;
|
| virtual bool updateImageLoadingPriorities() OVERRIDE FINAL;
|
| @@ -107,8 +110,6 @@ private:
|
| // Update the size of the image to be rendered. Object-fit may cause this to be different from the CSS box's content rect.
|
| void updateInnerContentRect();
|
|
|
| - void paintAreaElementFocusRing(PaintInfo&);
|
| -
|
| // Text to display as long as the image isn't available.
|
| String m_altText;
|
| OwnPtr<RenderImageResource> m_imageResource;
|
|
|