Title: [176907] trunk/Source/WebCore
Revision
176907
Author
[email protected]
Date
2014-12-06 10:26:07 -0800 (Sat, 06 Dec 2014)

Log Message

[WinCairo] Compile error, missing guard.
https://bugs.webkit.org/show_bug.cgi?id=139338

Patch by [email protected] <[email protected]> on 2014-12-06
Reviewed by Alex Christensen.

There is missing a ENABLE(CSS_SELECTORS_LEVEL4) guard in CSSParser.cpp.

* css/CSSParser.cpp:
(WebCore::CSSParser::realLex):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (176906 => 176907)


--- trunk/Source/WebCore/ChangeLog	2014-12-06 11:50:29 UTC (rev 176906)
+++ trunk/Source/WebCore/ChangeLog	2014-12-06 18:26:07 UTC (rev 176907)
@@ -1,3 +1,15 @@
+2014-12-06  [email protected]  <[email protected]>
+
+        [WinCairo] Compile error, missing guard.
+        https://bugs.webkit.org/show_bug.cgi?id=139338
+
+        Reviewed by Alex Christensen.
+
+        There is missing a ENABLE(CSS_SELECTORS_LEVEL4) guard in CSSParser.cpp.
+
+        * css/CSSParser.cpp:
+        (WebCore::CSSParser::realLex):
+
 2014-12-05  Chris Fleizach  <[email protected]>
 
         AX: I cannot activate links on the mobile version of news.google.com

Modified: trunk/Source/WebCore/css/CSSParser.cpp (176906 => 176907)


--- trunk/Source/WebCore/css/CSSParser.cpp	2014-12-06 11:50:29 UTC (rev 176906)
+++ trunk/Source/WebCore/css/CSSParser.cpp	2014-12-06 18:26:07 UTC (rev 176907)
@@ -11486,6 +11486,7 @@
         if (*currentCharacter<SrcCharacterType>() == '=') {
             ++currentCharacter<SrcCharacterType>();
             m_token = CONTAINS;
+#if ENABLE(CSS_SELECTORS_LEVEL4)
         } else if (*currentCharacter<SrcCharacterType>() == '-') {
             result = currentCharacter<SrcCharacterType>();
 
@@ -11498,6 +11499,7 @@
 
             m_token = LANGRANGE;
             yylval->string.init(parsedLangRange.toString());
+#endif
         }
         break;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to