Currently it is using qreal and qMin.
Created attachment 117709 [details] Proposed patch
Comment on attachment 117709 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=117709&action=review > Source/WebCore/platform/graphics/texmap/TextureMapperNode.cpp:835 > + return std::min(1.0, (floor(numSteps * t) + 1) / numSteps); I'm not certain, but I think its more typical to include MathExtras.h here and just use min.
Comment on attachment 117709 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=117709&action=review >> Source/WebCore/platform/graphics/texmap/TextureMapperNode.cpp:835 >> + return std::min(1.0, (floor(numSteps * t) + 1) / numSteps); > > I'm not certain, but I think its more typical to include MathExtras.h here and just use min. True. Please fix before committing :)
I've talked to Martin we checked that min is not directly included by MathExtras, he recommended to include it to add Windows support and use std:min.
Landed! Thanks http://trac.webkit.org/changeset/101919