| Index: Source/core/layout/LayoutHTMLCanvas.h
|
| diff --git a/Source/core/layout/LayoutHTMLCanvas.h b/Source/core/layout/LayoutHTMLCanvas.h
|
| index 446fa413043b2ba56dd912006ebf98c86a5e2eb4..0517bf99f1798214195143d06cf9ccac03dac926 100644
|
| --- a/Source/core/layout/LayoutHTMLCanvas.h
|
| +++ b/Source/core/layout/LayoutHTMLCanvas.h
|
| @@ -36,19 +36,19 @@ class LayoutHTMLCanvas final : public LayoutReplaced {
|
| public:
|
| explicit LayoutHTMLCanvas(HTMLCanvasElement*);
|
|
|
| - virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectCanvas || LayoutReplaced::isOfType(type); }
|
| - virtual DeprecatedPaintLayerType layerTypeRequired() const override;
|
| - virtual PaintInvalidationReason invalidatePaintIfNeeded(PaintInvalidationState&, const LayoutBoxModelObject&) override final;
|
| + bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectCanvas || LayoutReplaced::isOfType(type); }
|
| + DeprecatedPaintLayerType layerTypeRequired() const override;
|
| + PaintInvalidationReason invalidatePaintIfNeeded(PaintInvalidationState&, const LayoutBoxModelObject&) final;
|
|
|
| void canvasSizeChanged();
|
|
|
| - virtual const char* name() const override { return "LayoutHTMLCanvas"; }
|
| + const char* name() const override { return "LayoutHTMLCanvas"; }
|
|
|
| private:
|
| - virtual void paintReplaced(const PaintInfo&, const LayoutPoint&) override;
|
| - virtual void intrinsicSizeChanged() override { canvasSizeChanged(); }
|
| + void paintReplaced(const PaintInfo&, const LayoutPoint&) override;
|
| + void intrinsicSizeChanged() override { canvasSizeChanged(); }
|
|
|
| - virtual CompositingReasons additionalCompositingReasons() const override;
|
| + CompositingReasons additionalCompositingReasons() const override;
|
| };
|
|
|
| DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutHTMLCanvas, isCanvas());
|
|
|