Branch: refs/heads/safari-7616.1.3-branch
Home: https://github.com/WebKit/WebKit
Commit: 43e7977ec2033b3a044695ef9c766be94210dca0
https://github.com/WebKit/WebKit/commit/43e7977ec2033b3a044695ef9c766be94210dca0
Author: Said Abou-Hallawa <[email protected]>
Date: 2023-02-21 (Tue, 21 Feb 2023)
Changed paths:
M Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp
Log Message:
-----------
Cherry-pick fab6d531c24f. rdar://problem/105637444
REGRESSION(260471@main): The platform graphics context colorspace should
not be adopted
https://bugs.webkit.org/show_bug.cgi?id=252629
rdar://105637444
Reviewed by Darin Adler.
When storing the return raw pointer of CGIOSurfaceContextGetColorSpace() or
CGBitmapContextGetColorSpace() in a RetainPtr, we should not be using
adoptCF().
The refcount of the colorspace should be incremented when WebKit references
it.
* Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContextCG::colorSpace const):
Canonical link: https://commits.webkit.org/260609@main
Canonical link: https://commits.webkit.org/[email protected]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes