Title: [226300] trunk/Source
Revision
226300
Author
[email protected]
Date
2017-12-27 09:29:28 -0800 (Wed, 27 Dec 2017)

Log Message

Build fix after r226299
https://bugs.webkit.org/show_bug.cgi?id=181160

Unreviewed build fix.

Source/_javascript_Core:

* API/tests/TypedArrayCTest.cpp:
(assertEqualsAsNumber): Disambiguate usage of isnan.

Source/WebCore:

No new tests, its a build fix.

* platform/graphics/FontSelectionAlgorithm.h: Add missing include.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/API/tests/TypedArrayCTest.cpp (226299 => 226300)


--- trunk/Source/_javascript_Core/API/tests/TypedArrayCTest.cpp	2017-12-27 16:46:02 UTC (rev 226299)
+++ trunk/Source/_javascript_Core/API/tests/TypedArrayCTest.cpp	2017-12-27 17:29:28 UTC (rev 226300)
@@ -84,7 +84,7 @@
 static int assertEqualsAsNumber(JSGlobalContextRef context, JSValueRef value, double expectedValue)
 {
     double number = JSValueToNumber(context, value, nullptr);
-    if (number != expectedValue && !(isnan(number) && isnan(expectedValue))) {
+    if (number != expectedValue && !(std::isnan(number) && std::isnan(expectedValue))) {
         fprintf(stderr, "assertEqualsAsNumber FAILED: %p, %lf\n", value, expectedValue);
         return 1;
     }

Modified: trunk/Source/_javascript_Core/ChangeLog (226299 => 226300)


--- trunk/Source/_javascript_Core/ChangeLog	2017-12-27 16:46:02 UTC (rev 226299)
+++ trunk/Source/_javascript_Core/ChangeLog	2017-12-27 17:29:28 UTC (rev 226300)
@@ -1,3 +1,13 @@
+2017-12-27  Carlos Alberto Lopez Perez  <[email protected]>
+
+        Build fix after r226299
+        https://bugs.webkit.org/show_bug.cgi?id=181160
+
+        Unreviewed build fix.
+
+        * API/tests/TypedArrayCTest.cpp:
+        (assertEqualsAsNumber): Disambiguate usage of isnan.
+
 2017-12-26  Carlos Alberto Lopez Perez  <[email protected]>
 
         REGRESSION(r225769): Build error with constexpr std::max // std::min in libdstdc++4

Modified: trunk/Source/WebCore/ChangeLog (226299 => 226300)


--- trunk/Source/WebCore/ChangeLog	2017-12-27 16:46:02 UTC (rev 226299)
+++ trunk/Source/WebCore/ChangeLog	2017-12-27 17:29:28 UTC (rev 226300)
@@ -1,3 +1,14 @@
+2017-12-27  Carlos Alberto Lopez Perez  <[email protected]>
+
+        Build fix after r226299
+        https://bugs.webkit.org/show_bug.cgi?id=181160
+
+        Unreviewed build fix.
+
+        No new tests, its a build fix.
+
+        * platform/graphics/FontSelectionAlgorithm.h: Add missing include.
+
 2017-12-26  Carlos Alberto Lopez Perez  <[email protected]>
 
         REGRESSION(r225769): Build error with constexpr std::max // std::min in libdstdc++4

Modified: trunk/Source/WebCore/platform/graphics/FontSelectionAlgorithm.h (226299 => 226300)


--- trunk/Source/WebCore/platform/graphics/FontSelectionAlgorithm.h	2017-12-27 16:46:02 UTC (rev 226299)
+++ trunk/Source/WebCore/platform/graphics/FontSelectionAlgorithm.h	2017-12-27 17:29:28 UTC (rev 226300)
@@ -30,6 +30,7 @@
 #include <tuple>
 #include <wtf/Hasher.h>
 #include <wtf/Optional.h>
+#include <wtf/StdLibExtras.h>
 
 namespace WebCore {
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to