The LayoutUnit constructor which takes an unsigned long long fails to compile on some platforms when SATURATED_LAYOUT_ARITHMETIC is not defined because storing the result of ('unsigned long long' * 'int') into an int loses precision: Source/WebCore/platform/LayoutUnit.h:89:25: error: implicit conversion loses integer precision: 'unsigned long long' to 'int' [-Werror,-Wshorten-64-to-32] m_value = value * kEffectiveFixedPointDenominator; ~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<rdar://problem/12967415>
Created attachment 181541 [details] Proposed patch
Comment on attachment 181541 [details] Proposed patch This is the wrong approach, new patch coming shortly.
Created attachment 181546 [details] Updated patch
Committed r138978: <http://trac.webkit.org/changeset/138978>