Title: [209066] trunk/Source/WebCore
Revision
209066
Author
[email protected]
Date
2016-11-29 04:57:34 -0800 (Tue, 29 Nov 2016)

Log 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.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (209065 => 209066)


--- trunk/Source/WebCore/ChangeLog	2016-11-29 10:59:23 UTC (rev 209065)
+++ trunk/Source/WebCore/ChangeLog	2016-11-29 12:57:34 UTC (rev 209066)
@@ -1,3 +1,12 @@
+2016-11-29  Antti Koivisto  <[email protected]>
+
+        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.
+
 2016-11-28  Antti Koivisto  <[email protected]>
 
         Slotted nodes ignore transition

Modified: trunk/Source/WebCore/style/StyleUpdate.h (209065 => 209066)


--- trunk/Source/WebCore/style/StyleUpdate.h	2016-11-29 10:59:23 UTC (rev 209065)
+++ trunk/Source/WebCore/style/StyleUpdate.h	2016-11-29 12:57:34 UTC (rev 209066)
@@ -45,6 +45,12 @@
 namespace Style {
 
 struct ElementUpdate {
+    ElementUpdate() = default;
+    ElementUpdate(std::unique_ptr<RenderStyle> style, Change change, bool recompositeLayer)
+        : style(WTFMove(style))
+        , change(change)
+        , recompositeLayer(recompositeLayer)
+    { }
     std::unique_ptr<RenderStyle> style;
     Change change { NoChange };
     bool recompositeLayer { false };
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to