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

Unified Diff: Source/core/css/CSSCharsetRule.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/CSSCanvasValue.h ('k') | Source/core/css/CSSComputedStyleDeclaration.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSCharsetRule.h
diff --git a/Source/core/css/CSSCharsetRule.h b/Source/core/css/CSSCharsetRule.h
index 7118484d7c783d13196ea3e342838453698996ac..83448d864b7bfb537e6fd2673d213a67a333e586 100644
--- a/Source/core/css/CSSCharsetRule.h
+++ b/Source/core/css/CSSCharsetRule.h
@@ -26,7 +26,7 @@
namespace blink {
-class CSSCharsetRule FINAL : public CSSRule {
+class CSSCharsetRule final : public CSSRule {
public:
static PassRefPtrWillBeRawPtr<CSSCharsetRule> create(CSSStyleSheet* parent, const String& encoding)
{
@@ -35,14 +35,14 @@ public:
virtual ~CSSCharsetRule() { }
- virtual CSSRule::Type type() const OVERRIDE { return CHARSET_RULE; }
- virtual String cssText() const OVERRIDE;
- virtual void reattach(StyleRuleBase* rule) OVERRIDE { ASSERT_UNUSED(rule, !rule); }
+ virtual CSSRule::Type type() const override { return CHARSET_RULE; }
+ virtual String cssText() const override;
+ virtual void reattach(StyleRuleBase* rule) override { ASSERT_UNUSED(rule, !rule); }
const String& encoding() const { return m_encoding; }
void setEncoding(const String& encoding) { m_encoding = encoding; }
- virtual void trace(Visitor* visitor) OVERRIDE { CSSRule::trace(visitor); }
+ virtual void trace(Visitor* visitor) override { CSSRule::trace(visitor); }
private:
CSSCharsetRule(CSSStyleSheet* parent, const String& encoding);
« no previous file with comments | « Source/core/css/CSSCanvasValue.h ('k') | Source/core/css/CSSComputedStyleDeclaration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698