Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d505e867ef8298cfb655426ac0a5a52ae7af2929
https://github.com/WebKit/WebKit/commit/d505e867ef8298cfb655426ac0a5a52ae7af2929
Author: Fujii Hironori <[email protected]>
Date: 2023-05-06 (Sat, 06 May 2023)
Changed paths:
M Source/WebCore/platform/LayoutUnit.h
Log Message:
-----------
[Win] LayoutUnit.h(84) : warning C4756: overflow in constant arithmetic
https://bugs.webkit.org/show_bug.cgi?id=256423
Unreviewed build fix for Windows port.
> WebCore\platform\LayoutUnit.h(84) : warning C4756: overflow in constant
> arithmetic
It seems that LayoutUnit::LayoutUnit(float) has to calculate "value *
kFixedPointDenominator" in double.
* Source/WebCore/platform/LayoutUnit.h:
(WebCore::LayoutUnit::LayoutUnit):
Removed the float version of constructor.
Canonical link: https://commits.webkit.org/263770@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes