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

Unified Diff: Source/web/WebFontImpl.h

Issue 1230533002: Fix virtual/override/final usage in Source/web/. (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/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 a5ca970d88362532083b09a7108ea6d6d33dab11..b6c2378f65f09dd488c189496a72c2631afbb7fc 100644
--- a/Source/web/WebFontImpl.h
+++ b/Source/web/WebFontImpl.h
@@ -43,20 +43,20 @@ class WebFontImpl final : public WebFont {
public:
explicit WebFontImpl(const FontDescription&);
- virtual WebFontDescription fontDescription() const override;
+ 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;
+ int ascent() const override;
+ int descent() const override;
+ int height() const override;
+ int lineSpacing() const override;
+ float xHeight() const override;
- virtual void drawText(WebCanvas*, const WebTextRun&, const WebFloatPoint& leftBaseline, WebColor,
+ void drawText(WebCanvas*, const WebTextRun&, const WebFloatPoint& leftBaseline, WebColor,
const WebRect& clip) 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 calculateWidth(const WebTextRun&) const override;
+ int offsetForPosition(const WebTextRun&, float position) const override;
+ WebFloatRect selectionRectForText(const WebTextRun&, const WebFloatPoint& leftBaseline,
int height, int from = 0, int to = -1) const override;
DisplayItemClient displayItemClient() const { return toDisplayItemClient(this); }
« 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