blob: 9d297b9d0d264a0a7b14c2ed33b7ef8481cafcb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Description: Fixes an ambiguous call to the pow() function
Origin: backport, https://github.com/WebKit/webkit/commit/2931450725
--- a/modules/web/src/main/native/Source/WebCore/rendering/shapes/BoxShape.cpp
+++ b/modules/web/src/main/native/Source/WebCore/rendering/shapes/BoxShape.cpp
@@ -43,7 +43,7 @@
LayoutUnit ratio = radius / margin;
if (ratio < 1)
- return radius + (margin * (1 + pow(ratio - 1, 3)));
+ return radius + (margin * (1 + pow(ratio - 1, 3.0)));
return radius + margin;
}
|