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

Unified Diff: Source/core/css/CSSUnknownRule.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/CSSSupportsRule.h ('k') | Source/core/css/CSSViewportRule.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSUnknownRule.h
diff --git a/Source/core/css/CSSUnknownRule.h b/Source/core/css/CSSUnknownRule.h
index e5f704b5ad87fe931e9abb8accb3b9d9c1897745..b6bb13dae8038c2352f9bd3a5026f65ac76a2fb0 100644
--- a/Source/core/css/CSSUnknownRule.h
+++ b/Source/core/css/CSSUnknownRule.h
@@ -32,10 +32,12 @@ public:
CSSUnknownRule() : CSSRule(0) { }
virtual ~CSSUnknownRule() { }
- virtual CSSRule::Type type() const override { return UNKNOWN_RULE; }
virtual String cssText() const override { return String(); }
virtual void reattach(StyleRuleBase*) override { }
virtual void trace(Visitor* visitor) override { CSSRule::trace(visitor); }
+
+private:
+ virtual CSSRule::Type type() const override { return UNKNOWN_RULE; }
};
} // namespace blink
« no previous file with comments | « Source/core/css/CSSSupportsRule.h ('k') | Source/core/css/CSSViewportRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698