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

Unified Diff: Source/core/css/CSSCustomFontData.h

Issue 1226293002: Fix virtual/override/final usage in Source/core/{animation,css,style}/. (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/css/CSSCrossfadeValue.h ('k') | Source/core/css/CSSFontFaceRule.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSCustomFontData.h
diff --git a/Source/core/css/CSSCustomFontData.h b/Source/core/css/CSSCustomFontData.h
index da735f21026e67cec04056e13d2a4830fb14a22a..3ca52da2e57f504589a17e025893bae49fafc83e 100644
--- a/Source/core/css/CSSCustomFontData.h
+++ b/Source/core/css/CSSCustomFontData.h
@@ -35,16 +35,16 @@ public:
return adoptRef(new CSSCustomFontData(source, visibility));
}
- virtual ~CSSCustomFontData() { }
+ ~CSSCustomFontData() override { }
- virtual bool shouldSkipDrawing() const override
+ bool shouldSkipDrawing() const override
{
if (m_fontFaceSource)
m_fontFaceSource->paintRequested();
return m_fallbackVisibility == InvisibleFallback && m_isLoading;
}
- virtual void beginLoadIfNeeded() const override
+ void beginLoadIfNeeded() const override
{
if (!m_isLoading && m_fontFaceSource) {
m_isLoading = true;
@@ -52,9 +52,9 @@ public:
}
}
- virtual bool isLoading() const override { return m_isLoading; }
- virtual bool isLoadingFallback() const override { return true; }
- virtual void clearFontFaceSource() override { m_fontFaceSource = 0; }
+ bool isLoading() const override { return m_isLoading; }
+ bool isLoadingFallback() const override { return true; }
+ void clearFontFaceSource() override { m_fontFaceSource = 0; }
private:
CSSCustomFontData(RemoteFontFaceSource* source, FallbackVisibility visibility)
« no previous file with comments | « Source/core/css/CSSCrossfadeValue.h ('k') | Source/core/css/CSSFontFaceRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698