Bug 267254
Summary: | Move BitmapImage format conversion to a new class name ImageAdapter | ||
---|---|---|---|
Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> |
Component: | Images | Assignee: | Said Abou-Hallawa <sabouhallawa> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | sabouhallawa, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 265363 |
Said Abou-Hallawa
The classes Image and BitmapImage are overloaded with many other functions. The platform-specific format conversion is not tied to BitmapImage or Image. It relies mostly on NativeImages. So move the format conversion to a new class named ImageAdapter. Move also BitmapImage::nativeImageOfSize() and BitmapImage::framesNativeImages() to this new class since they are only used by the format conversion.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/120690546>
Said Abou-Hallawa
Pull request: https://github.com/WebKit/WebKit/pull/22535
EWS
Committed 273772@main (ab92c87e9f99): <https://commits.webkit.org/273772@main>
Reviewed commits have been landed. Closing PR #22535 and removing active labels.