Changeset 209066 in webkit


Ignore:
Timestamp:
Nov 29, 2016 4:57:34 AM (7 years ago)
Author:
Antti Koivisto
Message:

Try to fix win/gtk build.

  • style/StyleUpdate.h:

(WebCore::Style::ElementUpdate::ElementUpdate):

Add explicit constructor for compilers that don't support C++14 list initialization correctly.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r209065 r209066  
     12016-11-29  Antti Koivisto  <antti@apple.com>
     2
     3        Try to fix win/gtk build.
     4
     5        * style/StyleUpdate.h:
     6        (WebCore::Style::ElementUpdate::ElementUpdate):
     7
     8            Add explicit constructor for compilers that don't support C++14 list initialization correctly.
     9
    1102016-11-28  Antti Koivisto  <antti@apple.com>
    211
  • trunk/Source/WebCore/style/StyleUpdate.h

    r208668 r209066  
    4646
    4747struct ElementUpdate {
     48    ElementUpdate() = default;
     49    ElementUpdate(std::unique_ptr<RenderStyle> style, Change change, bool recompositeLayer)
     50        : style(WTFMove(style))
     51        , change(change)
     52        , recompositeLayer(recompositeLayer)
     53    { }
    4854    std::unique_ptr<RenderStyle> style;
    4955    Change change { NoChange };
Note: See TracChangeset for help on using the changeset viewer.