Try to fix windows build.
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Aug 2017 15:44:39 +0000 (15:44 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Aug 2017 15:44:39 +0000 (15:44 +0000)
* style/StyleUpdate.h:
(WebCore::Style::TextUpdate::TextUpdate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220528 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/style/StyleUpdate.h

index 562deca..863f033 100644 (file)
@@ -1,3 +1,10 @@
+2017-08-10  Antti Koivisto  <antti@apple.com>
+
+        Try to fix windows build.
+
+        * style/StyleUpdate.h:
+        (WebCore::Style::TextUpdate::TextUpdate):
+
 2017-08-10  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         [GTK] Crashes in WebCore::PasteboardHelper::fillSelectionData when source file of drag is unavailable
index 559d2d4..708155d 100644 (file)
@@ -55,6 +55,12 @@ struct ElementUpdate {
 };
 
 struct TextUpdate {
+    TextUpdate() = default;
+    TextUpdate(unsigned offset, unsigned length)
+        : offset(offset)
+        , length(length)
+    { }
+
     unsigned offset { 0 };
     unsigned length { std::numeric_limits<unsigned>::max() };
 };