Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a2b7a1b2e3608786b09d743e36175feb65b455d4
https://github.com/WebKit/WebKit/commit/a2b7a1b2e3608786b09d743e36175feb65b455d4
Author: Sam Weinig <[email protected]>
Date: 2026-09-18 (Fri, 18 Sep 2026)
Changed paths:
M Source/WebCore/Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp
M Source/WebCore/Modules/notifications/NotificationResources.h
M Source/WebCore/editing/cocoa/DictionaryLookup.mm
M Source/WebCore/editing/cocoa/TextAttachmentForSerialization.h
M Source/WebCore/html/HTMLAttachmentElement.cpp
M Source/WebCore/html/HTMLAttachmentElement.h
M Source/WebCore/loader/cache/CachedImage.cpp
M Source/WebCore/loader/cache/CachedImage.h
M Source/WebCore/page/ContextMenuContext.h
M Source/WebCore/page/ElementTargetingController.cpp
M Source/WebCore/page/ElementTargetingController.h
M Source/WebCore/page/TextIndicator.cpp
M Source/WebCore/page/TextIndicator.h
M Source/WebCore/platform/ScrollView.cpp
M Source/WebCore/platform/graphics/BitmapImage.cpp
M Source/WebCore/platform/graphics/BitmapImage.h
M Source/WebCore/platform/graphics/GraphicsContext.cpp
M Source/WebCore/platform/graphics/GraphicsContext.h
M Source/WebCore/platform/graphics/Image.cpp
M Source/WebCore/platform/graphics/Image.h
M Source/WebCore/platform/graphics/ImageAdapter.cpp
M Source/WebCore/platform/graphics/ImageAdapter.h
M Source/WebCore/platform/graphics/ShareableBitmap.h
M Source/WebCore/platform/graphics/cairo/ShareableBitmapCairo.cpp
M Source/WebCore/platform/graphics/cg/ShareableBitmapCG.mm
M Source/WebCore/platform/graphics/cocoa/ImageAdapterCocoa.mm
M Source/WebCore/platform/graphics/glib/ImageAdapterGLib.cpp
M Source/WebCore/platform/graphics/skia/ShareableBitmapSkia.cpp
M Source/WebCore/platform/graphics/win/ImageAdapterWin.cpp
M Source/WebCore/rendering/AttachmentLayout.h
M Source/WebCore/rendering/RenderTheme.cpp
M Source/WebCore/rendering/ios/RenderThemeIOS.mm
M Source/WebCore/rendering/mac/RenderThemeMac.mm
M Source/WebKit/Shared/ContextMenuContextData.cpp
M Source/WebKit/Shared/ContextMenuContextData.h
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
M Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp
M Source/WebKit/WebProcess/Plugins/PluginView.cpp
M Source/WebKit/WebProcess/WebPage/WebFoundTextRangeController.cpp
M Source/WebKit/WebProcess/WebPage/WebPage.cpp
Log Message:
-----------
[Image Redux] Use BitmapImage for members when all uses allow
https://bugs.webkit.org/show_bug.cgi?id=324409
Reviewed by Said Abou-Hallawa.
To simplify upcoming work on the base WebCore::Image type, this replaces use of
the base WebCore::Image with WebCore::BitmapImage where all uses are explicitly
using WebCore::BitmapImage.
GraphicsContext gains a set of drawBitmapImage() functions that currently are
identical to the drawImage() functions, except that they take a
WebCore::BitmapImage
not a WebCore::Image. In subsequent changes, the signature of drawImage() will
change, so having drawBitmapImage() now minimizing the impact of that.
* Source/WebCore/Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp:
* Source/WebCore/Modules/notifications/NotificationResources.h:
* Source/WebCore/editing/cocoa/DictionaryLookup.mm:
* Source/WebCore/editing/cocoa/TextAttachmentForSerialization.h:
* Source/WebCore/html/HTMLAttachmentElement.cpp:
* Source/WebCore/html/HTMLAttachmentElement.h:
* Source/WebCore/loader/cache/CachedImage.cpp:
* Source/WebCore/loader/cache/CachedImage.h:
* Source/WebCore/page/ContextMenuContext.h:
* Source/WebCore/page/ElementTargetingController.cpp:
* Source/WebCore/page/ElementTargetingController.h:
* Source/WebCore/page/TextIndicator.cpp:
* Source/WebCore/page/TextIndicator.h:
* Source/WebCore/platform/ScrollView.cpp:
* Source/WebCore/platform/graphics/BitmapImage.cpp:
* Source/WebCore/platform/graphics/BitmapImage.h:
* Source/WebCore/platform/graphics/GraphicsContext.cpp:
* Source/WebCore/platform/graphics/GraphicsContext.h:
* Source/WebCore/platform/graphics/Image.cpp:
* Source/WebCore/platform/graphics/ImageAdapter.cpp:
* Source/WebCore/platform/graphics/ImageAdapter.h:
* Source/WebCore/platform/graphics/ShareableBitmap.h:
* Source/WebCore/platform/graphics/cairo/ShareableBitmapCairo.cpp:
* Source/WebCore/platform/graphics/cg/ShareableBitmapCG.mm:
* Source/WebCore/platform/graphics/cocoa/ImageAdapterCocoa.mm:
* Source/WebCore/platform/graphics/glib/ImageAdapterGLib.cpp:
* Source/WebCore/platform/graphics/skia/ShareableBitmapSkia.cpp:
* Source/WebCore/platform/graphics/win/ImageAdapterWin.cpp:
* Source/WebCore/rendering/AttachmentLayout.h:
* Source/WebCore/rendering/RenderTheme.cpp:
* Source/WebCore/rendering/ios/RenderThemeIOS.mm:
* Source/WebCore/rendering/mac/RenderThemeMac.mm:
* Source/WebKit/Shared/ContextMenuContextData.cpp:
* Source/WebKit/Shared/ContextMenuContextData.h:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp:
* Source/WebKit/WebProcess/Plugins/PluginView.cpp:
* Source/WebKit/WebProcess/WebPage/WebFoundTextRangeController.cpp:
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
Canonical link: https://commits.webkit.org/321396@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications