-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cairo] When creating a native image from pixel buffer the buffer sho…
…uld be owned by the cairo surface https://bugs.webkit.org/show_bug.cgi?id=263440 Reviewed by Alejandro G. Castro. It's currently owned by the NativeImage container, but the surface can be alive after the container destruction. This patch reverts 262575@main and uses cairo_surface_set_user_data() instead. * Source/WebCore/platform/graphics/NativeImage.h: * Source/WebCore/platform/graphics/cairo/GraphicsContextGLCairo.cpp: (WebCore::GraphicsContextGL::createNativeImageFromPixelBuffer): * Source/WebCore/platform/graphics/cairo/NativeImageCairo.cpp: (WebCore::NativeImage::create): Deleted. (WebCore::NativeImage::NativeImage): Deleted. Canonical link: https://commits.webkit.org/269618@main
- Loading branch information
1 parent
c954b58
commit 504426c
Showing
3 changed files
with
25 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters