Title: [282997] branches/safari-612-branch/Source/WebCore
- Revision
- 282997
- Author
- [email protected]
- Date
- 2021-09-23 13:14:11 -0700 (Thu, 23 Sep 2021)
Log Message
Cherry-pick r281950. rdar://problem/83460946
Leak of VTImageRotationSessionRef (176 bytes) in com.apple.WebKit.GPU.Development process
<https://webkit.org/b/229781>
<rdar://problem/82651897>
Reviewed by Darin Adler.
* platform/graphics/cv/ImageRotationSessionVT.mm:
(WebCore::ImageRotationSessionVT::initialize):
- Add missing adoptCF() to fix the leak.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-612-branch/Source/WebCore/ChangeLog (282996 => 282997)
--- branches/safari-612-branch/Source/WebCore/ChangeLog 2021-09-23 20:14:08 UTC (rev 282996)
+++ branches/safari-612-branch/Source/WebCore/ChangeLog 2021-09-23 20:14:11 UTC (rev 282997)
@@ -1,5 +1,34 @@
2021-09-23 Russell Epstein <[email protected]>
+ Cherry-pick r281950. rdar://problem/83460946
+
+ Leak of VTImageRotationSessionRef (176 bytes) in com.apple.WebKit.GPU.Development process
+ <https://webkit.org/b/229781>
+ <rdar://problem/82651897>
+
+ Reviewed by Darin Adler.
+
+ * platform/graphics/cv/ImageRotationSessionVT.mm:
+ (WebCore::ImageRotationSessionVT::initialize):
+ - Add missing adoptCF() to fix the leak.
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2021-09-02 David Kilzer <[email protected]>
+
+ Leak of VTImageRotationSessionRef (176 bytes) in com.apple.WebKit.GPU.Development process
+ <https://webkit.org/b/229781>
+ <rdar://problem/82651897>
+
+ Reviewed by Darin Adler.
+
+ * platform/graphics/cv/ImageRotationSessionVT.mm:
+ (WebCore::ImageRotationSessionVT::initialize):
+ - Add missing adoptCF() to fix the leak.
+
+2021-09-23 Russell Epstein <[email protected]>
+
Cherry-pick r281650. rdar://problem/83460707
Drawing small caps web fonts into canvas causes the GPU process to hang
Modified: branches/safari-612-branch/Source/WebCore/platform/graphics/cv/ImageRotationSessionVT.mm (282996 => 282997)
--- branches/safari-612-branch/Source/WebCore/platform/graphics/cv/ImageRotationSessionVT.mm 2021-09-23 20:14:08 UTC (rev 282996)
+++ branches/safari-612-branch/Source/WebCore/platform/graphics/cv/ImageRotationSessionVT.mm 2021-09-23 20:14:11 UTC (rev 282997)
@@ -83,7 +83,7 @@
VTImageRotationSessionRef rawRotationSession = nullptr;
VTImageRotationSessionCreate(kCFAllocatorDefault, m_rotationProperties.angle, &rawRotationSession);
- m_rotationSession = rawRotationSession;
+ m_rotationSession = adoptCF(rawRotationSession);
VTImageRotationSessionSetProperty(m_rotationSession.get(), kVTImageRotationPropertyKey_EnableHighSpeedTransfer, kCFBooleanTrue);
if (m_rotationProperties.flipY)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes