[WinCairo] Unreviewed build fix after r263776
authorHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Jul 2020 05:10:12 +0000 (05:10 +0000)
committerHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Jul 2020 05:10:12 +0000 (05:10 +0000)
> WebCore\platform\graphics\ColorUtilities.h(67): error C2039: 'lround': is not a member of 'std'

* platform/graphics/ColorUtilities.h: Include <cmath> for std::lround.

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/ColorUtilities.h

index 8ddb01b..a616e65 100644 (file)
@@ -1,3 +1,11 @@
+2020-06-30  Fujii Hironori  <Hironori.Fujii@sony.com>
+
+        [WinCairo] Unreviewed build fix after r263776
+
+        > WebCore\platform\graphics\ColorUtilities.h(67): error C2039: 'lround': is not a member of 'std'
+
+        * platform/graphics/ColorUtilities.h: Include <cmath> for std::lround.
+
 2020-06-30  Andres Gonzalez  <andresg_22@apple.com>
 
         Code cleanup in AccessibilityMenuList.cpp and AXIsolatedTree.h.
index 7e789e6..c211e28 100644 (file)
@@ -26,6 +26,7 @@
 #pragma once
 
 #include <algorithm>
+#include <cmath>
 #include <math.h>
 
 namespace WebCore {