Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4a8fc94cd350d9071e0d058d6a560e540dee63f2
https://github.com/WebKit/WebKit/commit/4a8fc94cd350d9071e0d058d6a560e540dee63f2
Author: Ahmad Saleem <[email protected]>
Date: 2026-09-13 (Sun, 13 Sep 2026)
Changed paths:
M Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
Log Message:
-----------
TransformationMatrix::operator== hand-rolls a 16-element comparison instead
of comparing the underlying arrays
https://bugs.webkit.org/show_bug.cgi?id=324083
rdar://187311427
Reviewed by Simon Fraser.
m_matrix is a std::array<std::array<double, 4>, 4>, whose defaulted
operator== already performs the same element-wise double comparison that
operator== spelled out over 16 lines. Replace the hand-rolled comparison
with `m_matrix == m2.m_matrix`, which has identical floating-point
semantics.
* Source/WebCore/platform/graphics/transforms/TransformationMatrix.h:
(WebCore::TransformationMatrix::operator== const):
Canonical link: https://commits.webkit.org/321029@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications