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

Unified Diff: Source/core/css/CSSStyleSheet.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/CSSStyleRule.h ('k') | Source/core/css/CSSStyleSheet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSStyleSheet.h
diff --git a/Source/core/css/CSSStyleSheet.h b/Source/core/css/CSSStyleSheet.h
index 5d576471259aea34f7a7cd172ad96190ed903100..1b4d03762d4565de7234205fc5dd0875b5ac7859 100644
--- a/Source/core/css/CSSStyleSheet.h
+++ b/Source/core/css/CSSStyleSheet.h
@@ -43,7 +43,7 @@ enum StyleSheetUpdateType {
EntireStyleSheetUpdate
};
-class CSSStyleSheet FINAL : public StyleSheet {
+class CSSStyleSheet final : public StyleSheet {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<CSSStyleSheet> create(PassRefPtrWillBeRawPtr<StyleSheetContents>, CSSImportRule* ownerRule = 0);
@@ -53,13 +53,13 @@ public:
virtual ~CSSStyleSheet();
- virtual CSSStyleSheet* parentStyleSheet() const OVERRIDE;
- virtual Node* ownerNode() const OVERRIDE { return m_ownerNode; }
- virtual MediaList* media() const OVERRIDE;
- virtual String href() const OVERRIDE;
- virtual String title() const OVERRIDE { return m_title; }
- virtual bool disabled() const OVERRIDE { return m_isDisabled; }
- virtual void setDisabled(bool) OVERRIDE;
+ virtual CSSStyleSheet* parentStyleSheet() const override;
+ virtual Node* ownerNode() const override { return m_ownerNode; }
+ virtual MediaList* media() const override;
+ virtual String href() const override;
+ virtual String title() const override { return m_title; }
+ virtual bool disabled() const override { return m_isDisabled; }
+ virtual void setDisabled(bool) override;
PassRefPtrWillBeRawPtr<CSSRuleList> cssRules();
unsigned insertRule(const String& rule, unsigned index, ExceptionState&);
@@ -76,11 +76,11 @@ public:
unsigned length() const;
CSSRule* item(unsigned index);
- virtual void clearOwnerNode() OVERRIDE;
+ virtual void clearOwnerNode() override;
- virtual CSSRule* ownerRule() const OVERRIDE { return m_ownerRule; }
- virtual KURL baseURL() const OVERRIDE;
- virtual bool isLoading() const OVERRIDE;
+ virtual CSSRule* ownerRule() const override { return m_ownerRule; }
+ virtual KURL baseURL() const override;
+ virtual bool isLoading() const override;
void clearOwnerRule() { m_ownerRule = nullptr; }
Document* ownerDocument() const;
@@ -115,14 +115,14 @@ public:
bool loadCompleted() const { return m_loadCompleted; }
void startLoadingDynamicSheet();
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
CSSStyleSheet(PassRefPtrWillBeRawPtr<StyleSheetContents>, CSSImportRule* ownerRule);
CSSStyleSheet(PassRefPtrWillBeRawPtr<StyleSheetContents>, Node* ownerNode, bool isInlineStylesheet, const TextPosition& startPosition);
- virtual bool isCSSStyleSheet() const OVERRIDE { return true; }
- virtual String type() const OVERRIDE { return "text/css"; }
+ virtual bool isCSSStyleSheet() const override { return true; }
+ virtual String type() const override { return "text/css"; }
void reattachChildRuleCSSOMWrappers();
« no previous file with comments | « Source/core/css/CSSStyleRule.h ('k') | Source/core/css/CSSStyleSheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698