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

Unified Diff: Source/core/css/CSSViewportRule.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/CSSSupportsRule.h ('k') | Source/core/css/FontFace.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSViewportRule.h
diff --git a/Source/core/css/CSSViewportRule.h b/Source/core/css/CSSViewportRule.h
index 038be5a4d8ca199c015d189855c52d1c24d4125e..1675a3aa8800cc4e9e05f84b2e955e29afe995f2 100644
--- a/Source/core/css/CSSViewportRule.h
+++ b/Source/core/css/CSSViewportRule.h
@@ -47,10 +47,10 @@ public:
{
return adoptRefWillBeNoop(new CSSViewportRule(viewportRule, sheet));
}
- virtual ~CSSViewportRule();
+ ~CSSViewportRule() override;
- virtual String cssText() const override;
- virtual void reattach(StyleRuleBase*) override;
+ String cssText() const override;
+ void reattach(StyleRuleBase*) override;
CSSStyleDeclaration* style() const;
@@ -59,7 +59,7 @@ public:
private:
CSSViewportRule(StyleRuleViewport*, CSSStyleSheet*);
- virtual CSSRule::Type type() const override { return VIEWPORT_RULE; }
+ CSSRule::Type type() const override { return VIEWPORT_RULE; }
RefPtrWillBeMember<StyleRuleViewport> m_viewportRule;
mutable RefPtrWillBeMember<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper;
« no previous file with comments | « Source/core/css/CSSSupportsRule.h ('k') | Source/core/css/FontFace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698