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

Unified Diff: Source/WebCore/css/StyleRule.h

Issue 13839016: Remove CSS_SHADERS compile-time flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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: Source/WebCore/css/StyleRule.h
diff --git a/Source/WebCore/css/StyleRule.h b/Source/WebCore/css/StyleRule.h
index 09e1ef1fd9fda402a32a197e1b94a5bfc320b94e..a253bea3763f3901f0349250e7ee5b987535bdea 100644
--- a/Source/WebCore/css/StyleRule.h
+++ b/Source/WebCore/css/StyleRule.h
@@ -53,9 +53,7 @@ public:
Viewport = 15,
#endif
Region = 16,
-#if ENABLE(CSS_SHADERS)
Filter = 17,
-#endif
#if ENABLE(SHADOW_DOM)
HostInternal = 18, // Spec says Host = 1001, but we can use only 5 bit for type().
#endif
@@ -80,9 +78,7 @@ public:
#if ENABLE(SHADOW_DOM)
bool isHostRule() const { return type() == HostInternal; }
#endif
-#if ENABLE(CSS_SHADERS)
bool isFilterRule() const { return type() == Filter; }
-#endif
PassRefPtr<StyleRuleBase> copy() const;
@@ -329,7 +325,6 @@ inline const StyleRuleRegion* toStyleRuleRegion(const StyleRuleGroup* rule)
return static_cast<const StyleRuleRegion*>(rule);
}
-#if ENABLE(CSS_SHADERS)
class StyleRuleFilter : public StyleRuleBase {
public:
static PassRefPtr<StyleRuleFilter> create(const String& filterName) { return adoptRef(new StyleRuleFilter(filterName)); }
@@ -354,7 +349,6 @@ private:
String m_filterName;
RefPtr<StylePropertySet> m_properties;
};
-#endif // ENABLE(CSS_SHADERS)
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698