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

Unified Diff: Source/core/css/CSSStyleSheet.cpp

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/CSSStyleSheet.h ('k') | Source/core/css/CSSSupportsRule.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSStyleSheet.cpp
diff --git a/Source/core/css/CSSStyleSheet.cpp b/Source/core/css/CSSStyleSheet.cpp
index fa9b7746e35b5be26ed8a6d80b1616a561e76065..705d3283da8707459b4002a670ea53176e068975 100644
--- a/Source/core/css/CSSStyleSheet.cpp
+++ b/Source/core/css/CSSStyleSheet.cpp
@@ -45,14 +45,14 @@
namespace blink {
-class StyleSheetCSSRuleList FINAL : public CSSRuleList {
+class StyleSheetCSSRuleList final : public CSSRuleList {
public:
static PassOwnPtrWillBeRawPtr<StyleSheetCSSRuleList> create(CSSStyleSheet* sheet)
{
return adoptPtrWillBeNoop(new StyleSheetCSSRuleList(sheet));
}
- virtual void trace(Visitor* visitor) OVERRIDE
+ virtual void trace(Visitor* visitor) override
{
visitor->trace(m_styleSheet);
CSSRuleList::trace(visitor);
@@ -62,14 +62,14 @@ private:
StyleSheetCSSRuleList(CSSStyleSheet* sheet) : m_styleSheet(sheet) { }
#if !ENABLE(OILPAN)
- virtual void ref() OVERRIDE { m_styleSheet->ref(); }
- virtual void deref() OVERRIDE { m_styleSheet->deref(); }
+ virtual void ref() override { m_styleSheet->ref(); }
+ virtual void deref() override { m_styleSheet->deref(); }
#endif
- virtual unsigned length() const OVERRIDE { return m_styleSheet->length(); }
- virtual CSSRule* item(unsigned index) const OVERRIDE { return m_styleSheet->item(index); }
+ virtual unsigned length() const override { return m_styleSheet->length(); }
+ virtual CSSRule* item(unsigned index) const override { return m_styleSheet->item(index); }
- virtual CSSStyleSheet* styleSheet() const OVERRIDE { return m_styleSheet; }
+ virtual CSSStyleSheet* styleSheet() const override { return m_styleSheet; }
RawPtrWillBeMember<CSSStyleSheet> m_styleSheet;
};
« no previous file with comments | « Source/core/css/CSSStyleSheet.h ('k') | Source/core/css/CSSSupportsRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698