Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1349)

Unified Diff: Source/core/layout/LayoutHTMLCanvas.h

Issue 1231363003: Fix virtual/override/final usage in Source/core/layout/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutGrid.h ('k') | Source/core/layout/LayoutIFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « Source/core/layout/LayoutGrid.h ('k') | Source/core/layout/LayoutIFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698