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

Unified Diff: Source/core/css/CSSStyleRule.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/CSSSegmentedFontFace.h ('k') | Source/core/css/CSSStyleSheet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSStyleRule.h
diff --git a/Source/core/css/CSSStyleRule.h b/Source/core/css/CSSStyleRule.h
index a5bfa5bd9282be33e44281162ae7e38eba84e7d3..75adbf9dc0758abf0fac5c6f791a417d220acdfe 100644
--- a/Source/core/css/CSSStyleRule.h
+++ b/Source/core/css/CSSStyleRule.h
@@ -31,7 +31,7 @@ class CSSStyleDeclaration;
class StyleRuleCSSStyleDeclaration;
class StyleRule;
-class CSSStyleRule FINAL : public CSSRule {
+class CSSStyleRule final : public CSSRule {
public:
static PassRefPtrWillBeRawPtr<CSSStyleRule> create(StyleRule* rule, CSSStyleSheet* sheet)
{
@@ -40,9 +40,9 @@ public:
virtual ~CSSStyleRule();
- virtual CSSRule::Type type() const OVERRIDE { return STYLE_RULE; }
- virtual String cssText() const OVERRIDE;
- virtual void reattach(StyleRuleBase*) OVERRIDE;
+ virtual CSSRule::Type type() const override { return STYLE_RULE; }
+ virtual String cssText() const override;
+ virtual void reattach(StyleRuleBase*) override;
String selectorText() const;
void setSelectorText(const String&);
@@ -52,7 +52,7 @@ public:
// FIXME: Not CSSOM. Remove.
StyleRule* styleRule() const { return m_styleRule.get(); }
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
CSSStyleRule(StyleRule*, CSSStyleSheet*);
« no previous file with comments | « Source/core/css/CSSSegmentedFontFace.h ('k') | Source/core/css/CSSStyleSheet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698