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

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

Issue 1226293002: Fix virtual/override/final usage in Source/core/{animation,css,style}/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 f4ceccaa9341adc36ab1caf1545b55212efc58a4..c90953a332d186d777ef2af80757b3a0b9666bf3 100644
--- a/Source/core/css/CSSStyleSheet.cpp
+++ b/Source/core/css/CSSStyleSheet.cpp
@@ -61,14 +61,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(); }
+ void ref() override { m_styleSheet->ref(); }
+ 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); }
+ unsigned length() const override { return m_styleSheet->length(); }
+ CSSRule* item(unsigned index) const override { return m_styleSheet->item(index); }
- virtual CSSStyleSheet* styleSheet() const override { return m_styleSheet; }
+ 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