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

Unified Diff: Source/WebCore/css/CSSGrammar.y.in

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/CSSGrammar.y.in
diff --git a/Source/WebCore/css/CSSGrammar.y.in b/Source/WebCore/css/CSSGrammar.y.in
index 32b439831bb4eea5e203e83a85d9cc873d897eb3..a6c9492f305046d25f36771cae503e0358b07be1 100644
--- a/Source/WebCore/css/CSSGrammar.y.in
+++ b/Source/WebCore/css/CSSGrammar.y.in
@@ -144,9 +144,7 @@ static inline bool isCSSTokenAString(int yytype)
#if ENABLE_CSS3_CONDITIONAL_RULES
%token WEBKIT_SUPPORTS_CONDITION_SYM
#endif
-#if ENABLE_CSS_SHADERS
%token WEBKIT_FILTER_RULE_SYM
-#endif
%token <marginBox> TOPLEFTCORNER_SYM
%token <marginBox> TOPLEFT_SYM
%token <marginBox> TOPCENTER_SYM
@@ -254,9 +252,7 @@ static inline bool isCSSTokenAString(int yytype)
#if ENABLE_CSS_DEVICE_ADAPTATION
%type <rule> viewport
#endif
-#if ENABLE_CSS_SHADERS
%type <rule> filter
-#endif
%type <string> maybe_ns_prefix
@@ -480,9 +476,7 @@ valid_rule:
#if ENABLE_CSS_DEVICE_ADAPTATION
| viewport
#endif
-#if ENABLE_CSS_SHADERS
| filter
-#endif
;
rule:
@@ -530,9 +524,7 @@ block_valid_rule:
#if ENABLE_CSS_DEVICE_ADAPTATION
| viewport
#endif
-#if ENABLE_CSS_SHADERS
| filter
-#endif
;
block_rule:
@@ -1092,7 +1084,6 @@ region:
}
;
-#if ENABLE_CSS_SHADERS
before_filter_rule:
/* empty */ {
parser->markRuleHeaderStart(CSSRuleSourceData::FILTER_RULE);
@@ -1107,7 +1098,6 @@ filter:
$$ = parser->createFilterRule($4);
}
;
-#endif
combinator:
'+' maybe_space { $$ = CSSSelector::DirectAdjacent; }

Powered by Google App Engine
This is Rietveld 408576698