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

Unified Diff: Source/core/css/CSSCustomFontData.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/css/CSSCrossfadeValue.h ('k') | Source/core/css/CSSFilterRule.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 d674c07a09a54ec1bdd6af72cbc93816ddec98f0..da735f21026e67cec04056e13d2a4830fb14a22a 100644
--- a/Source/core/css/CSSCustomFontData.h
+++ b/Source/core/css/CSSCustomFontData.h
@@ -26,7 +26,7 @@
namespace blink {
-class CSSCustomFontData FINAL : public CustomFontData {
+class CSSCustomFontData final : public CustomFontData {
public:
enum FallbackVisibility { InvisibleFallback, VisibleFallback };
@@ -37,14 +37,14 @@ public:
virtual ~CSSCustomFontData() { }
- virtual bool shouldSkipDrawing() const OVERRIDE
+ virtual bool shouldSkipDrawing() const override
{
if (m_fontFaceSource)
m_fontFaceSource->paintRequested();
return m_fallbackVisibility == InvisibleFallback && m_isLoading;
}
- virtual void beginLoadIfNeeded() const OVERRIDE
+ virtual 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; }
+ virtual bool isLoading() const override { return m_isLoading; }
+ virtual bool isLoadingFallback() const override { return true; }
+ virtual 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/CSSFilterRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698