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

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

Issue 129063002: Update CSS classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/CSSFontFaceSource.h ('k') | Source/core/css/CSSImportRule.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSFontSelector.h
diff --git a/Source/core/css/CSSFontSelector.h b/Source/core/css/CSSFontSelector.h
index 34d33a8809d7d4ca51b0f25f1ca684cf2ae508c5..b213f842174f60200bbc0220d183c192b3bb0020 100644
--- a/Source/core/css/CSSFontSelector.h
+++ b/Source/core/css/CSSFontSelector.h
@@ -62,7 +62,7 @@ private:
ResourceFetcher* m_resourceFetcher;
};
-class CSSFontSelector : public FontSelector {
+class CSSFontSelector FINAL : public FontSelector {
public:
static PassRefPtr<CSSFontSelector> create(Document* document)
{
@@ -72,7 +72,7 @@ public:
virtual unsigned version() const OVERRIDE { return m_cssSegmentedFontFaceCache.version(); }
- virtual PassRefPtr<FontData> getFontData(const FontDescription&, const AtomicString&);
+ virtual PassRefPtr<FontData> getFontData(const FontDescription&, const AtomicString&) OVERRIDE;
CSSSegmentedFontFace* getFontFace(const FontDescription&, const AtomicString& family);
virtual void willUseFontData(const FontDescription&, const AtomicString& family) OVERRIDE;
@@ -82,10 +82,10 @@ public:
void removeFontFaceRule(const StyleRuleFontFace*);
void fontLoaded();
- virtual void fontCacheInvalidated();
+ virtual void fontCacheInvalidated() OVERRIDE;
- virtual void registerForInvalidationCallbacks(FontSelectorClient*);
- virtual void unregisterForInvalidationCallbacks(FontSelectorClient*);
+ virtual void registerForInvalidationCallbacks(FontSelectorClient*) OVERRIDE;
+ virtual void unregisterForInvalidationCallbacks(FontSelectorClient*) OVERRIDE;
Document* document() const { return m_document; }
« no previous file with comments | « Source/core/css/CSSFontFaceSource.h ('k') | Source/core/css/CSSImportRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698