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

Unified Diff: Source/web/WebFontImpl.h

Issue 634893002: Replace OVERRIDE and FINAL with override and final in WebKit/public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/web/WebFileChooserCompletionImpl.h ('k') | Source/web/WebHelperPluginImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFontImpl.h
diff --git a/Source/web/WebFontImpl.h b/Source/web/WebFontImpl.h
index c6f0ecdfee3bccf3a3d34c8abf6054b45f67a427..04924f5ec0d1f8939a27b9463b17ba72b3d7432c 100644
--- a/Source/web/WebFontImpl.h
+++ b/Source/web/WebFontImpl.h
@@ -38,24 +38,24 @@ namespace blink {
class FontDescription;
-class WebFontImpl FINAL : public WebFont {
+class WebFontImpl final : public WebFont {
public:
explicit WebFontImpl(const FontDescription&);
- virtual WebFontDescription fontDescription() const OVERRIDE;
+ virtual WebFontDescription fontDescription() const override;
- virtual int ascent() const OVERRIDE;
- virtual int descent() const OVERRIDE;
- virtual int height() const OVERRIDE;
- virtual int lineSpacing() const OVERRIDE;
- virtual float xHeight() const OVERRIDE;
+ virtual int ascent() const override;
+ virtual int descent() const override;
+ virtual int height() const override;
+ virtual int lineSpacing() const override;
+ virtual float xHeight() const override;
virtual void drawText(WebCanvas*, const WebTextRun&, const WebFloatPoint& leftBaseline, WebColor,
- const WebRect& clip, bool canvasIsOpaque, int from = 0, int to = -1) const OVERRIDE;
- virtual int calculateWidth(const WebTextRun&) const OVERRIDE;
- virtual int offsetForPosition(const WebTextRun&, float position) const OVERRIDE;
+ const WebRect& clip, bool canvasIsOpaque, int from = 0, int to = -1) const override;
+ virtual int calculateWidth(const WebTextRun&) const override;
+ virtual int offsetForPosition(const WebTextRun&, float position) const override;
virtual WebFloatRect selectionRectForText(const WebTextRun&, const WebFloatPoint& leftBaseline,
- int height, int from = 0, int to = -1) const OVERRIDE;
+ int height, int from = 0, int to = -1) const override;
private:
Font m_font;
« no previous file with comments | « Source/web/WebFileChooserCompletionImpl.h ('k') | Source/web/WebHelperPluginImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698