Index: Source/core/rendering/RenderImageResourceStyleImage.h |
diff --git a/Source/core/rendering/RenderImageResourceStyleImage.h b/Source/core/rendering/RenderImageResourceStyleImage.h |
index 6844e2a581169db241001c397f209f5da5f5012c..098cc634acb08426fdefc62e8da93dfe7bd80074 100644 |
--- a/Source/core/rendering/RenderImageResourceStyleImage.h |
+++ b/Source/core/rendering/RenderImageResourceStyleImage.h |
@@ -34,7 +34,7 @@ namespace WebCore { |
class RenderObject; |
-class RenderImageResourceStyleImage : public RenderImageResource { |
+class RenderImageResourceStyleImage FINAL : public RenderImageResource { |
public: |
virtual ~RenderImageResourceStyleImage(); |
@@ -42,22 +42,22 @@ public: |
{ |
return adoptPtr(new RenderImageResourceStyleImage(styleImage)); |
} |
- virtual void initialize(RenderObject*); |
- virtual void shutdown(); |
+ virtual void initialize(RenderObject*) OVERRIDE; |
+ virtual void shutdown() OVERRIDE; |
- virtual bool hasImage() const { return true; } |
- virtual PassRefPtr<Image> image(int width = 0, int height = 0) const; |
- virtual bool errorOccurred() const { return m_styleImage->errorOccurred(); } |
+ virtual bool hasImage() const OVERRIDE { return true; } |
+ virtual PassRefPtr<Image> image(int width = 0, int height = 0) const OVERRIDE; |
+ virtual bool errorOccurred() const OVERRIDE { return m_styleImage->errorOccurred(); } |
- virtual void setContainerSizeForRenderer(const IntSize&); |
- virtual bool usesImageContainerSize() const { return m_styleImage->usesImageContainerSize(); } |
- virtual bool imageHasRelativeWidth() const { return m_styleImage->imageHasRelativeWidth(); } |
- virtual bool imageHasRelativeHeight() const { return m_styleImage->imageHasRelativeHeight(); } |
+ virtual void setContainerSizeForRenderer(const IntSize&) OVERRIDE; |
+ virtual bool usesImageContainerSize() const OVERRIDE { return m_styleImage->usesImageContainerSize(); } |
+ virtual bool imageHasRelativeWidth() const OVERRIDE { return m_styleImage->imageHasRelativeWidth(); } |
+ virtual bool imageHasRelativeHeight() const OVERRIDE { return m_styleImage->imageHasRelativeHeight(); } |
virtual LayoutSize imageSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_renderer, multiplier); } |
virtual LayoutSize intrinsicSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_renderer, multiplier); } |
- virtual WrappedImagePtr imagePtr() const { return m_styleImage->data(); } |
+ virtual WrappedImagePtr imagePtr() const OVERRIDE { return m_styleImage->data(); } |
private: |
RenderImageResourceStyleImage(StyleImage*); |