Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c0b2221b92ed2006b6216173610b438198f5a620
https://github.com/WebKit/WebKit/commit/c0b2221b92ed2006b6216173610b438198f5a620
Author: Rose <[email protected]>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M Source/WebCore/platform/mac/WebNSAttributedStringExtras.mm
M Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm
Log Message:
-----------
WebCore: Prefer mutableCopy over mutableCopyWithZone
https://bugs.webkit.org/show_bug.cgi?id=253825
Reviewed by Chris Dumez.
The mutableCopyWithZone method is not overridden, nor is the
zone parameter even acknowledged anymore by the Objective-C
runtime. We should replace calls to mutableCopyWithZone with
calls to mutableCopy.
* Source/WebCore/platform/mac/WebNSAttributedStringExtras.mm:
(attributedStringByStrippingAttachmentCharacters): Replace
mutableCopyWithZone with mutableCopy.
* Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm:
(initWithSession): Ditto.
Canonical link: https://commits.webkit.org/262083@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes