Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 25d6b64b1948539f9e32efe5dc4fca874aa58e31
https://github.com/WebKit/WebKit/commit/25d6b64b1948539f9e32efe5dc4fca874aa58e31
Author: Sam Weinig <[email protected]>
Date: 2026-10-04 (Sun, 04 Oct 2026)
Changed paths:
M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
M Source/WebCore/loader/cache/CachedImage.h
M Source/WebCore/platform/graphics/GeneratedImage.h
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
M Source/WebCore/style/values/images/kinds/StyleGeneratedImage.cpp
M Source/WebCore/style/values/images/kinds/StyleGeneratedImage.h
M Source/WebCore/style/values/images/kinds/StyleImage.h
M Source/WebCore/style/values/images/kinds/StyleMultiImage.cpp
M Source/WebCore/style/values/images/kinds/StyleMultiImage.h
M Source/WebCore/svg/graphics/SVGImage.cpp
M Source/WebCore/svg/graphics/SVGImage.h
Log Message:
-----------
[Image Redux] Remove unused size accessors on Style::Image,
WebCore::CachedImage and WebCore::Image
https://bugs.webkit.org/show_bug.cgi?id=326283
Reviewed by Darin Adler.
Removes the following unused functions:
- Style::Image::computeIntrinsicDimensions()
- Style::Image::imageHasRelativeWidth()
- Style::Image::imageHasRelativeHeight()
- Style::Image::imageHasNaturalDimensions()
- Style::Image::imageHasNaturalAspectRatio()
- CachedImage::imageHasNaturalAspectRatio()
- CachedImage::imageHasRelativeWidth()
- CachedImage::imageHasRelativeHeight()
- WebCore::Image::hasIntrinsicWidth(),
- WebCore::Image::hasIntrinsicHeight()
- WebCore::Image::hasNaturalAspectRatio()
- SVGImage::hasRelativeWidth()
- SVGImage::hasRelativeHeight()
* Source/WebCore/loader/cache/CachedImage.h:
* Source/WebCore/platform/graphics/GeneratedImage.h:
* Source/WebCore/platform/graphics/Image.h:
* Source/WebCore/style/values/images/kinds/StyleCachedImage.cpp:
* Source/WebCore/style/values/images/kinds/StyleCachedImage.h:
* Source/WebCore/style/values/images/kinds/StyleGeneratedImage.cpp:
* Source/WebCore/style/values/images/kinds/StyleGeneratedImage.h:
* Source/WebCore/style/values/images/kinds/StyleImage.h:
* Source/WebCore/style/values/images/kinds/StyleMultiImage.cpp:
* Source/WebCore/style/values/images/kinds/StyleMultiImage.h:
* Source/WebCore/svg/graphics/SVGImage.cpp:
* Source/WebCore/svg/graphics/SVGImage.h:
Canonical link: https://commits.webkit.org/322655@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications