| 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();
|
|
|
|
|