Title: [209174] trunk/Source/WebCore
- Revision
- 209174
- Author
- [email protected]
- Date
- 2016-11-30 21:25:24 -0800 (Wed, 30 Nov 2016)
Log Message
Build break when using --minimal
https://bugs.webkit.org/show_bug.cgi?id=165238
Reviewed by Darin Adler.
* css/parser/CSSSelectorParser.cpp:
(WebCore::CSSSelectorParser::consumePseudo): Use #if ENABLE(VIDEO_TRACK) guard.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (209173 => 209174)
--- trunk/Source/WebCore/ChangeLog 2016-12-01 04:32:50 UTC (rev 209173)
+++ trunk/Source/WebCore/ChangeLog 2016-12-01 05:25:24 UTC (rev 209174)
@@ -1,3 +1,13 @@
+2016-11-30 Gyuyoung Kim <[email protected]>
+
+ Build break when using --minimal
+ https://bugs.webkit.org/show_bug.cgi?id=165238
+
+ Reviewed by Darin Adler.
+
+ * css/parser/CSSSelectorParser.cpp:
+ (WebCore::CSSSelectorParser::consumePseudo): Use #if ENABLE(VIDEO_TRACK) guard.
+
2016-11-30 Antoine Quint <[email protected]>
[Modern Media Controls] Add support for right-to-left layouts
Modified: trunk/Source/WebCore/css/parser/CSSSelectorParser.cpp (209173 => 209174)
--- trunk/Source/WebCore/css/parser/CSSSelectorParser.cpp 2016-12-01 04:32:50 UTC (rev 209173)
+++ trunk/Source/WebCore/css/parser/CSSSelectorParser.cpp 2016-12-01 05:25:24 UTC (rev 209174)
@@ -533,6 +533,7 @@
selector = std::unique_ptr<CSSParserSelector>(CSSParserSelector::parsePseudoClassSelectorFromStringView(value));
else {
selector = std::unique_ptr<CSSParserSelector>(CSSParserSelector::parsePseudoElementSelectorFromStringView(value));
+#if ENABLE(VIDEO_TRACK)
if (selector && selector->match() == CSSSelector::PseudoElement && selector->pseudoElementType() == CSSSelector::PseudoElementWebKitCustom) {
// FIXME-NEWPARSER: The old parser treats cue as two pseudo-element types, because it
// is unable to handle a dual pseudo-element (one that can be both an ident or a
@@ -546,6 +547,7 @@
if (token.type() == FunctionToken && value.startsWithIgnoringASCIICase("cue"))
selector->setPseudoElementType(CSSSelector::PseudoElementCue);
}
+#endif
}
if (!selector || (selector->match() == CSSSelector::PseudoElement && m_disallowPseudoElements))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes