Changeset 226300 in webkit


Ignore:
Timestamp:
Dec 27, 2017 9:29:28 AM (6 years ago)
Author:
clopez@igalia.com
Message:

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

Unreviewed build fix.

Source/JavaScriptCore:

  • 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.
Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/API/tests/TypedArrayCTest.cpp

    r218840 r226300  
    8585{
    8686    double number = JSValueToNumber(context, value, nullptr);
    87     if (number != expectedValue && !(isnan(number) && isnan(expectedValue))) {
     87    if (number != expectedValue && !(std::isnan(number) && std::isnan(expectedValue))) {
    8888        fprintf(stderr, "assertEqualsAsNumber FAILED: %p, %lf\n", value, expectedValue);
    8989        return 1;
  • trunk/Source/JavaScriptCore/ChangeLog

    r226299 r226300  
     12017-12-27  Carlos Alberto Lopez Perez  <clopez@igalia.com>
     2
     3        Build fix after r226299
     4        https://bugs.webkit.org/show_bug.cgi?id=181160
     5
     6        Unreviewed build fix.
     7
     8        * API/tests/TypedArrayCTest.cpp:
     9        (assertEqualsAsNumber): Disambiguate usage of isnan.
     10
    1112017-12-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r226299 r226300  
     12017-12-27  Carlos Alberto Lopez Perez  <clopez@igalia.com>
     2
     3        Build fix after r226299
     4        https://bugs.webkit.org/show_bug.cgi?id=181160
     5
     6        Unreviewed build fix.
     7
     8        No new tests, its a build fix.
     9
     10        * platform/graphics/FontSelectionAlgorithm.h: Add missing include.
     11
    1122017-12-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
    213
  • trunk/Source/WebCore/platform/graphics/FontSelectionAlgorithm.h

    r226299 r226300  
    3131#include <wtf/Hasher.h>
    3232#include <wtf/Optional.h>
     33#include <wtf/StdLibExtras.h>
    3334
    3435namespace WebCore {
Note: See TracChangeset for help on using the changeset viewer.