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

Unified Diff: Source/core/css/resolver/StyleResolver.h

Issue 137943002: Update more core classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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/CSSStyleSheet.cpp ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleResolver.h
diff --git a/Source/core/css/resolver/StyleResolver.h b/Source/core/css/resolver/StyleResolver.h
index b8771f41e39ed3e5b9af4ce7e6f1df422aacd4e4..18324d17f23ae1c3fdf5cf194f13afb42b6370ce 100644
--- a/Source/core/css/resolver/StyleResolver.h
+++ b/Source/core/css/resolver/StyleResolver.h
@@ -100,11 +100,11 @@ struct CSSPropertyValue {
};
// This class selects a RenderStyle for a given element based on a collection of stylesheets.
-class StyleResolver : public FontSelectorClient {
+class StyleResolver FINAL : public FontSelectorClient {
WTF_MAKE_NONCOPYABLE(StyleResolver); WTF_MAKE_FAST_ALLOCATED;
public:
explicit StyleResolver(Document&);
- ~StyleResolver();
+ virtual ~StyleResolver();
// FIXME: StyleResolver should not be keeping tree-walk state.
// These should move to some global tree-walk state, or should be contained in a
@@ -230,7 +230,7 @@ public:
private:
// FontSelectorClient implementation.
- virtual void fontsNeedUpdate(FontSelector*);
+ virtual void fontsNeedUpdate(FontSelector*) OVERRIDE;
private:
void initWatchedSelectorRules(const Vector<RefPtr<StyleRule> >& watchedSelectors);
« no previous file with comments | « Source/core/css/CSSStyleSheet.cpp ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698