clampTo(): do not convert the input to double when dealing with integers
[WebKit-https.git] / Source / WebCore / ChangeLog
index da8d037..a18c129 100644 (file)
@@ -1,3 +1,19 @@
+2019-02-08  Benjamin Poulain  <benjamin@webkit.org>
+
+        clampTo(): do not convert the input to double when dealing with integers
+        https://bugs.webkit.org/show_bug.cgi?id=194263
+        <rdar://problem/47692312>
+
+        Reviewed by Darin Adler.
+
+        Make the calls to clampTo<float>() unambiguous.
+
+        * page/FrameView.cpp:
+        (WebCore::FrameView::computeUpdatedLayoutViewportRect):
+        * rendering/style/RenderStyle.h:
+        (WebCore::RenderStyle::setOpacity):
+        (WebCore::RenderStyle::setShapeImageThreshold):
+
 2019-02-08  Eric Liang  <ericliang@apple.com>
 
         When performing AXPress, check to see if the menu list is disabled.