Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 4543085706efe7dfb684593f6b4e87410cefa34d https://github.com/WebKit/WebKit/commit/4543085706efe7dfb684593f6b4e87410cefa34d Author: Rose <83477269+ataridre...@users.noreply.github.com> Date: 2023-02-23 (Thu, 23 Feb 2023)
Changed paths: M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionCocoa.mm Log Message: ----------- Avoid unnecessary alloc/init when using dictionary literals https://bugs.webkit.org/show_bug.cgi?id=252813 Reviewed by Timothy Hatcher. The compiler initializes an NSDictionary when the @ syntax is used. If an underlying error happens, alloc/init is called again. Let's avoid that. *Source\WebKit\UIProcess\Extensions\Cocoa\WebExtensionCocoa.mm: Canonical link: https://commits.webkit.org/260782@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes