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

Unified Diff: Source/core/inspector/InspectorStyleSheet.cpp

Issue 638553002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed Nits 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/inspector/InspectorStyleSheet.h ('k') | Source/core/inspector/InspectorTimelineAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorStyleSheet.cpp
diff --git a/Source/core/inspector/InspectorStyleSheet.cpp b/Source/core/inspector/InspectorStyleSheet.cpp
index cd150e7b0f1e5aed7a77bcbf46c13c55cf8d3de9..7eb7fd1122483297a8b26718ffd48893b2392218 100644
--- a/Source/core/inspector/InspectorStyleSheet.cpp
+++ b/Source/core/inspector/InspectorStyleSheet.cpp
@@ -67,7 +67,7 @@ static CSSParserContext parserContextForDocument(Document *document)
return document ? CSSParserContext(*document, 0) : strictCSSParserContext();
}
-class StyleSheetHandler FINAL : public CSSParserObserver {
+class StyleSheetHandler final : public CSSParserObserver {
public:
StyleSheetHandler(const String& parsedText, Document* document, StyleSheetContents* styleSheetContents, RuleSourceDataList* result)
: m_parsedText(parsedText)
@@ -83,20 +83,20 @@ public:
}
private:
- virtual void startRuleHeader(CSSRuleSourceData::Type, unsigned) OVERRIDE;
- virtual void endRuleHeader(unsigned) OVERRIDE;
- virtual void startSelector(unsigned) OVERRIDE;
- virtual void endSelector(unsigned) OVERRIDE;
- virtual void startRuleBody(unsigned) OVERRIDE;
- virtual void endRuleBody(unsigned, bool) OVERRIDE;
- virtual void startProperty(unsigned) OVERRIDE;
- virtual void endProperty(bool, bool, unsigned, CSSParserError) OVERRIDE;
- virtual void startComment(unsigned) OVERRIDE;
- virtual void endComment(unsigned) OVERRIDE;
- virtual void startMediaQueryExp(unsigned offset) OVERRIDE;
- virtual void endMediaQueryExp(unsigned offset) OVERRIDE;
- virtual void startMediaQuery() OVERRIDE;
- virtual void endMediaQuery() OVERRIDE;
+ virtual void startRuleHeader(CSSRuleSourceData::Type, unsigned) override;
+ virtual void endRuleHeader(unsigned) override;
+ virtual void startSelector(unsigned) override;
+ virtual void endSelector(unsigned) override;
+ virtual void startRuleBody(unsigned) override;
+ virtual void endRuleBody(unsigned, bool) override;
+ virtual void startProperty(unsigned) override;
+ virtual void endProperty(bool, bool, unsigned, CSSParserError) override;
+ virtual void startComment(unsigned) override;
+ virtual void endComment(unsigned) override;
+ virtual void startMediaQueryExp(unsigned offset) override;
+ virtual void endMediaQueryExp(unsigned offset) override;
+ virtual void startMediaQuery() override;
+ virtual void endMediaQuery() override;
void addNewRuleToSourceTree(PassRefPtrWillBeRawPtr<CSSRuleSourceData>);
PassRefPtrWillBeRawPtr<CSSRuleSourceData> popRuleData();
« no previous file with comments | « Source/core/inspector/InspectorStyleSheet.h ('k') | Source/core/inspector/InspectorTimelineAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698