TranslateTransformOperation shouldn't take in a FloatSize to convert z as a double
Created attachment 410358 [details] Patch
Comment on attachment 410358 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=410358&action=review > Source/WebCore/platform/graphics/transforms/TranslateTransformOperation.h:53 > + double xAsDouble(const FloatSize& borderBoxSize) const { return floatValueForLength(m_x, borderBoxSize.width()); } > + double yAsDouble(const FloatSize& borderBoxSize) const { return floatValueForLength(m_y, borderBoxSize.height()); } > + double zAsDouble() const { return floatValueForLength(m_z, 1); } Strange mix here. We are calling something that computes a float, then converting it to a double when returning it, then it seems 2 of the 3 call sites call narrowPrecisionToFloat on a value that was just converted *from* a float. Maybe this should return float, not double?
<rdar://problem/70150086>
Created attachment 411771 [details] Patch
Committed r268714: <https://trac.webkit.org/changeset/268714>