Title: [203232] trunk/Source/WebCore
Revision
203232
Author
[email protected]
Date
2016-07-14 12:28:29 -0700 (Thu, 14 Jul 2016)

Log Message

Fix the !ENABLE(CSS_IMAGE_SET) build
https://bugs.webkit.org/show_bug.cgi?id=159766

Reviewed by Alex Christensen.

* css/CSSParser.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (203231 => 203232)


--- trunk/Source/WebCore/ChangeLog	2016-07-14 19:09:53 UTC (rev 203231)
+++ trunk/Source/WebCore/ChangeLog	2016-07-14 19:28:29 UTC (rev 203232)
@@ -1,3 +1,12 @@
+2016-07-14  Csaba Osztrogonác  <[email protected]>
+
+        Fix the !ENABLE(CSS_IMAGE_SET) build
+        https://bugs.webkit.org/show_bug.cgi?id=159766
+
+        Reviewed by Alex Christensen.
+
+        * css/CSSParser.cpp:
+
 2016-07-14  Frederic Wang  <[email protected]>
 
         Cleanup of MathML headers

Modified: trunk/Source/WebCore/css/CSSParser.cpp (203231 => 203232)


--- trunk/Source/WebCore/css/CSSParser.cpp	2016-07-14 19:09:53 UTC (rev 203231)
+++ trunk/Source/WebCore/css/CSSParser.cpp	2016-07-14 19:28:29 UTC (rev 203232)
@@ -1879,10 +1879,12 @@
     return nullptr;
 }
 
+#if ENABLE(CSS_IMAGE_SET)
 static bool isImageSetFunctionValue(const CSSParserValue& value)
 {
     return value.unit == CSSParserValue::Function && (equalLettersIgnoringASCIICase(value.function->name, "image-set(") || equalLettersIgnoringASCIICase(value.function->name, "-webkit-image-set("));
 }
+#endif
 
 bool CSSParser::parseValue(CSSPropertyID propId, bool important)
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to