Title: [209531] trunk/Source/WebCore
Revision
209531
Author
achristen...@apple.com
Date
2016-12-08 00:23:16 -0800 (Thu, 08 Dec 2016)

Log Message

Fix EFL build after r209526
https://bugs.webkit.org/show_bug.cgi?id=165594

* css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumePositiveIntegerRaw):
nullptr is being automatically converted to false everywhere but EFL.
It should be false.  This function returns a bool.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (209530 => 209531)


--- trunk/Source/WebCore/ChangeLog	2016-12-08 08:10:36 UTC (rev 209530)
+++ trunk/Source/WebCore/ChangeLog	2016-12-08 08:23:16 UTC (rev 209531)
@@ -1,3 +1,13 @@
+2016-12-08  Alex Christensen  <achristen...@webkit.org>
+
+        Fix EFL build after r209526
+        https://bugs.webkit.org/show_bug.cgi?id=165594
+
+        * css/parser/CSSPropertyParserHelpers.cpp:
+        (WebCore::CSSPropertyParserHelpers::consumePositiveIntegerRaw):
+        nullptr is being automatically converted to false everywhere but EFL.
+        It should be false.  This function returns a bool.
+
 2016-12-07  Dave Hyatt  <hy...@apple.com>
 
         REGRESSION: font shorthand parsing is broken

Modified: trunk/Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp (209530 => 209531)


--- trunk/Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp	2016-12-08 08:10:36 UTC (rev 209530)
+++ trunk/Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp	2016-12-08 08:23:16 UTC (rev 209531)
@@ -159,7 +159,7 @@
     const CSSParserToken& token = range.peek();
     if (token.type() == NumberToken) {
         if (token.numericValueType() == NumberValueType || token.numericValue() < 1)
-            return nullptr;
+            return false;
         result = range.consumeIncludingWhitespace().numericValue();
         return true;
     }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to