[webkit-reviews] review granted: [Bug 179982] Style resolution spin due to calc() values in animations always comparing inequal (seen on arstechnica.com) : [Attachment 327538] patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 24 11:22:30 PST 2017
Darin Adler <darin at apple.com> has granted Antti Koivisto <koivisto at iki.fi>'s
request for review:
Bug 179982: Style resolution spin due to calc() values in animations always
comparing inequal (seen on arstechnica.com)
https://bugs.webkit.org/show_bug.cgi?id=179982
Attachment 327538: patch
https://bugs.webkit.org/attachment.cgi?id=327538&action=review
--- Comment #6 from Darin Adler <darin at apple.com> ---
Comment on attachment 327538
--> https://bugs.webkit.org/attachment.cgi?id=327538
patch
View in context: https://bugs.webkit.org/attachment.cgi?id=327538&action=review
> Source/WebCore/platform/CalculationValue.cpp:130
> + // Maybe Vectors of unique_ptrs should always do deep compare?
VectorTypeOperations exists so that we can do that kind of thing. It looks like
we never specialized VectorTypeOperations, though, so I’m not entirely sure why
we have it!
> Source/WebCore/platform/CalculationValue.cpp:134
> + if (!(*a.children()[i] == *b.children()[i]))
Could use a != b instead of !(a == b)
More information about the webkit-reviews
mailing list