Try to fix Windows build.
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 Mar 2019 09:19:37 +0000 (09:19 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 Mar 2019 09:19:37 +0000 (09:19 +0000)
* platform/graphics/Region.cpp:
* platform/graphics/RoundedRect.cpp:

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/Region.cpp
Source/WebCore/platform/graphics/RoundedRect.cpp

index a8015f1..3ece356 100644 (file)
@@ -1,5 +1,12 @@
 2019-03-30  Antti Koivisto  <antti@apple.com>
 
+        Try to fix Windows build.
+
+        * platform/graphics/Region.cpp:
+        * platform/graphics/RoundedRect.cpp:
+
+2019-03-30  Antti Koivisto  <antti@apple.com>
+
         Hit-testing of boxes over scrollers should account for border-radius
         https://bugs.webkit.org/show_bug.cgi?id=195374
         <rdar://problem/48649993>
index 2120729..74f5b68 100644 (file)
@@ -27,6 +27,7 @@
 #include "Region.h"
 
 #include <stdio.h>
+#include <wtf/text/TextStream.h>
 
 // A region class based on the paper "Scanline Coherent Shape Algebra"
 // by Jonathan E. Steinhart from the book "Graphics Gems II".
index 932602d..12e671a 100644 (file)
@@ -35,6 +35,7 @@
 #include "Region.h"
 
 #include <algorithm>
+#include <math.h>
 
 namespace WebCore {