| Index: Source/platform/graphics/GeneratedImage.h
|
| diff --git a/Source/platform/graphics/GeneratedImage.h b/Source/platform/graphics/GeneratedImage.h
|
| index be2cf1d9005b56f4b5417f78e03bdbd509937662..ae8e75c6edde03cf20f84aeea7606e3be85a77c9 100644
|
| --- a/Source/platform/graphics/GeneratedImage.h
|
| +++ b/Source/platform/graphics/GeneratedImage.h
|
| @@ -34,18 +34,18 @@ namespace blink {
|
|
|
| class PLATFORM_EXPORT GeneratedImage : public Image {
|
| public:
|
| - virtual bool currentFrameHasSingleSecurityOrigin() const override { return true; }
|
| + bool currentFrameHasSingleSecurityOrigin() const override { return true; }
|
|
|
| - virtual void setContainerSize(const IntSize& size) override { m_size = size; }
|
| - virtual bool usesContainerSize() const override { return true; }
|
| - virtual bool hasRelativeWidth() const override { return true; }
|
| - virtual bool hasRelativeHeight() const override { return true; }
|
| - virtual void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) override;
|
| + void setContainerSize(const IntSize& size) override { m_size = size; }
|
| + bool usesContainerSize() const override { return true; }
|
| + bool hasRelativeWidth() const override { return true; }
|
| + bool hasRelativeHeight() const override { return true; }
|
| + void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) override;
|
|
|
| - virtual IntSize size() const override { return m_size; }
|
| + IntSize size() const override { return m_size; }
|
|
|
| // Assume that generated content has no decoded data we need to worry about
|
| - virtual void destroyDecodedData(bool) override { }
|
| + void destroyDecodedData(bool) override { }
|
|
|
| protected:
|
| void drawPattern(GraphicsContext*, const FloatRect&,
|
| @@ -53,7 +53,7 @@ protected:
|
| const FloatRect&, const IntSize& repeatSpacing) final;
|
|
|
| // FIXME: Implement this to be less conservative.
|
| - virtual bool currentFrameKnownToBeOpaque() override { return false; }
|
| + bool currentFrameKnownToBeOpaque() override { return false; }
|
|
|
| GeneratedImage(const IntSize& size) : m_size(size) { }
|
|
|
|
|