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

Unified Diff: third_party/WebKit/Source/core/css/CSSSupportsRule.h

Issue 2416893002: CSSMediaRule and CSSSupportsRule inherit from CSSConditionRule (Closed)
Patch Set: Fix tracing Created 4 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
Index: third_party/WebKit/Source/core/css/CSSSupportsRule.h
diff --git a/third_party/WebKit/Source/core/css/CSSSupportsRule.h b/third_party/WebKit/Source/core/css/CSSSupportsRule.h
index ad78da92a91ac5c8cb0c6b83c214f5135c29e996..e883b250d91e3749dc68b643882c6d5318693837 100644
--- a/third_party/WebKit/Source/core/css/CSSSupportsRule.h
+++ b/third_party/WebKit/Source/core/css/CSSSupportsRule.h
@@ -29,13 +29,13 @@
#ifndef CSSSupportsRule_h
#define CSSSupportsRule_h
-#include "core/css/CSSGroupingRule.h"
+#include "core/css/CSSConditionRule.h"
namespace blink {
class StyleRuleSupports;
-class CSSSupportsRule final : public CSSGroupingRule {
+class CSSSupportsRule final : public CSSConditionRule {
DEFINE_WRAPPERTYPEINFO();
public:
@@ -48,10 +48,6 @@ class CSSSupportsRule final : public CSSGroupingRule {
String cssText() const override;
- String conditionText() const;
-
- DEFINE_INLINE_VIRTUAL_TRACE() { CSSGroupingRule::trace(visitor); }
-
private:
CSSSupportsRule(StyleRuleSupports*, CSSStyleSheet*);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSMediaRule.idl ('k') | third_party/WebKit/Source/core/css/CSSSupportsRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698