Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3328994e4d88db45096929db74f2124c395a39b2
https://github.com/WebKit/WebKit/commit/3328994e4d88db45096929db74f2124c395a39b2
Author: Sam Weinig <[email protected]>
Date: 2026-10-05 (Mon, 05 Oct 2026)
Changed paths:
M Source/WebCore/SaferCPPExpectations/ForwardDeclCheckerExpectations
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/loader/cache/CachedImage.cpp
M Source/WebCore/loader/cache/CachedImage.h
M Source/WebCore/platform/graphics/Image.cpp
M Source/WebCore/platform/graphics/Image.h
M Source/WebCore/style/values/images/kinds/StyleCachedImage.cpp
M Source/WebCore/style/values/images/kinds/StyleCachedImage.h
R Source/WebCore/svg/graphics/SVGResourceImage.cpp
R Source/WebCore/svg/graphics/SVGResourceImage.h
Log Message:
-----------
[Image Redux] Make Style::CachedImage draw itself (for SVG resources)
https://bugs.webkit.org/show_bug.cgi?id=326275
Reviewed by Darin Adler.
Moves SVG resource image drawing code from WebCore::SVGResourceImage (which
gets deleted) to Style::CachedImage.
For non-SVG resource image drawing, Style::CachedImage renames
Style::CachedImage::image() to resolvedImage(),
and uses the Style::Image::draw...Resolved() family of functions to handle the
drawing.
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/platform/graphics/Image.cpp:
* Source/WebCore/platform/graphics/Image.h:
* Source/WebCore/style/values/images/kinds/StyleCachedImage.cpp:
* Source/WebCore/style/values/images/kinds/StyleCachedImage.h:
* Source/WebCore/svg/graphics/SVGResourceImage.cpp: Removed.
* Source/WebCore/svg/graphics/SVGResourceImage.h: Removed.
Canonical link: https://commits.webkit.org/322720@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications