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

Unified Diff: third_party/WebKit/Source/core/css/CSSMediaRule.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/CSSMediaRule.h
diff --git a/third_party/WebKit/Source/core/css/CSSMediaRule.h b/third_party/WebKit/Source/core/css/CSSMediaRule.h
index 06b5a653815714d7fc7204d16f9f61678db8074e..228200e8050c9cff89521621aeb357998692e0b8 100644
--- a/third_party/WebKit/Source/core/css/CSSMediaRule.h
+++ b/third_party/WebKit/Source/core/css/CSSMediaRule.h
@@ -23,14 +23,14 @@
#ifndef CSSMediaRule_h
#define CSSMediaRule_h
-#include "core/css/CSSGroupingRule.h"
+#include "core/css/CSSConditionRule.h"
#include "core/css/MediaList.h"
namespace blink {
class StyleRuleMedia;
-class CSSMediaRule final : public CSSGroupingRule {
+class CSSMediaRule final : public CSSConditionRule {
DEFINE_WRAPPERTYPEINFO();
public:
@@ -42,6 +42,7 @@ class CSSMediaRule final : public CSSGroupingRule {
void reattach(StyleRuleBase*) override;
String cssText() const override;
+ String conditionText() const override;
MediaList* media() const;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSConditionRule.idl ('k') | third_party/WebKit/Source/core/css/CSSMediaRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698