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

Unified Diff: Source/core/css/CSSStyleRule.h

Issue 719833002: Clean up virtual functions in css/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove some changes Created 6 years, 1 month 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/CSSPageRule.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/CSSStyleRule.h
diff --git a/Source/core/css/CSSStyleRule.h b/Source/core/css/CSSStyleRule.h
index 86f855218fd19f96c4887fa1f9dbc7e007dc1099..cdf7a8303fcef61d34612d2ab14e39d3fc9d4bcd 100644
--- a/Source/core/css/CSSStyleRule.h
+++ b/Source/core/css/CSSStyleRule.h
@@ -41,7 +41,6 @@ public:
virtual ~CSSStyleRule();
- virtual CSSRule::Type type() const override { return STYLE_RULE; }
virtual String cssText() const override;
virtual void reattach(StyleRuleBase*) override;
@@ -58,6 +57,8 @@ public:
private:
CSSStyleRule(StyleRule*, CSSStyleSheet*);
+ virtual CSSRule::Type type() const override { return STYLE_RULE; }
+
String generateSelectorText() const;
RefPtrWillBeMember<StyleRule> m_styleRule;
« no previous file with comments | « Source/core/css/CSSPageRule.h ('k') | Source/core/css/CSSSupportsRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698