Changeset 244660 in webkit


Ignore:
Timestamp:
Apr 25, 2019, 12:11:59 PM (6 years ago)
Author:
achristensen@apple.com
Message:

Fix more builds after r244653
https://bugs.webkit.org/show_bug.cgi?id=197131

Source/JavaScriptCore:

  • b3/B3Value.h:

There is an older system with libc++ headers that don't have std::conjunction. Just use constexpr and && instead for the one use of it in WebKit.

Source/WebCore:

  • svg/properties/SVGValuePropertyList.h:

Something is preventing MSVC from seeing protected constructors from subclasses.

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r244657 r244660  
     12019-04-25  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix more builds after r244653
     4        https://bugs.webkit.org/show_bug.cgi?id=197131
     5
     6        * b3/B3Value.h:
     7        There is an older system with libc++ headers that don't have std::conjunction.  Just use constexpr and && instead for the one use of it in WebKit.
     8
    192019-04-25  Basuke Suzuki  <Basuke.Suzuki@sony.com>
    210
  • trunk/Source/JavaScriptCore/b3/B3Value.h

    r244309 r244660  
    335335    typedef int32_t OffsetType;
    336336    template<typename Int>
    337     struct IsLegalOffset : std::conjunction<
    338         typename std::enable_if<std::is_integral<Int>::value>::type,
    339         typename std::enable_if<std::is_signed<Int>::value>::type,
    340         typename std::enable_if<sizeof(Int) <= sizeof(OffsetType)>::type
    341     > { };
     337    struct IsLegalOffset {
     338        static constexpr bool value = std::is_integral<Int>::value
     339            && std::is_signed<Int>::value
     340            && sizeof(Int) <= sizeof(OffsetType);
     341    };
    342342
    343343protected:
  • trunk/Source/WebCore/ChangeLog

    r244659 r244660  
     12019-04-25  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix more builds after r244653
     4        https://bugs.webkit.org/show_bug.cgi?id=197131
     5
     6        * svg/properties/SVGValuePropertyList.h:
     7        Something is preventing MSVC from seeing protected constructors from subclasses.
     8
    192019-04-25  Per Arne Vollan  <pvollan@apple.com>
    210
  • trunk/Source/WebCore/svg/properties/SVGValuePropertyList.h

    r243336 r244660  
    6767    }
    6868
     69    // Visual Studio doesn't seem to see these private constructors from subclasses.
     70    // FIXME: See what it takes to remove this hack.
     71#if !COMPILER(MSVC)
    6972protected:
     73#endif
    7074    using Base::append;
    7175    using Base::remove;
Note: See TracChangeset for help on using the changeset viewer.