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

Unified Diff: Source/core/rendering/RenderHTMLCanvas.h

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch Created 6 years, 2 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/rendering/RenderGrid.h ('k') | Source/core/rendering/RenderIFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderHTMLCanvas.h
diff --git a/Source/core/rendering/RenderHTMLCanvas.h b/Source/core/rendering/RenderHTMLCanvas.h
index 052a8fa5f924bf9e674db9d513a93267dff00cc1..5e9f6766fe25d4f72877bd525f7ffc7704d6f3f9 100644
--- a/Source/core/rendering/RenderHTMLCanvas.h
+++ b/Source/core/rendering/RenderHTMLCanvas.h
@@ -32,21 +32,21 @@ namespace blink {
class HTMLCanvasElement;
-class RenderHTMLCanvas FINAL : public RenderReplaced {
+class RenderHTMLCanvas final : public RenderReplaced {
public:
explicit RenderHTMLCanvas(HTMLCanvasElement*);
- virtual bool isCanvas() const OVERRIDE { return true; }
- virtual LayerType layerTypeRequired() const OVERRIDE;
+ virtual bool isCanvas() const override { return true; }
+ virtual LayerType layerTypeRequired() const override;
void canvasSizeChanged();
private:
- virtual const char* renderName() const OVERRIDE { return "RenderHTMLCanvas"; }
- virtual void paintReplaced(PaintInfo&, const LayoutPoint&) OVERRIDE;
- virtual void intrinsicSizeChanged() OVERRIDE { canvasSizeChanged(); }
+ virtual const char* renderName() const override { return "RenderHTMLCanvas"; }
+ virtual void paintReplaced(PaintInfo&, const LayoutPoint&) override;
+ virtual void intrinsicSizeChanged() override { canvasSizeChanged(); }
- virtual CompositingReasons additionalCompositingReasons() const OVERRIDE;
+ virtual CompositingReasons additionalCompositingReasons() const override;
};
DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderHTMLCanvas, isCanvas());
« no previous file with comments | « Source/core/rendering/RenderGrid.h ('k') | Source/core/rendering/RenderIFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698