Fix use-after-free in WebCore::StyleGradientImage() constructor in Source/WebCore/rendering/style/StyleGradientImage.cpp. ``` StyleGradientImage::StyleGradientImage(Data&& data, CSSGradientColorInterpolationMethod colorInterpolationMethod, Vector <StyleGradientImageStop>&& stops) : StyleGeneratedImage { Type::GradientImage, StyleGradientImage::isFixedSize } , m_data { WTFMove(data) } , m_colorInterpolationMethod { colorInterpolationMethod } , m_stops { WTFMove(stops) } , m_knownCacheableBarringFilter { stopsAreCacheable(stops) } // FIXME: Use-after-move of `stops`. { } ```
<rdar://problem/103202572>
Pull request: https://github.com/WebKit/WebKit/pull/7427
Committed 257686@main (40f4e5e1face): <https://commits.webkit.org/257686@main> Reviewed commits have been landed. Closing PR #7427 and removing active labels.
This was a use-after-move, not a use-after-free.