Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: db956ad95293ef25b4a34403d45313e24b325839
https://github.com/WebKit/WebKit/commit/db956ad95293ef25b4a34403d45313e24b325839
Author: Aditya Keerthi <[email protected]>
Date: 2025-04-23 (Wed, 23 Apr 2025)
Changed paths:
M Source/WebKit/_WebKit_SwiftUI/API/WebView.swift
M Source/WebKit/_WebKit_SwiftUI/Implementation/WebViewRepresentable.swift
Log Message:
-----------
[SwiftUI] WebViewRepresentable does not need to store the owning WebView
https://bugs.webkit.org/show_bug.cgi?id=291972
rdar://149884447
Reviewed by Richard Robinson.
`WebViewRepresentable` only uses the `WebPage`, store that object directly.
* Source/WebKit/_WebKit_SwiftUI/API/WebView.swift:
(WebView.body):
* Source/WebKit/_WebKit_SwiftUI/Implementation/WebViewRepresentable.swift:
(WebViewRepresentable.makePlatformView(_:)):
(WebViewRepresentable.updatePlatformView(_:context:)):
(WebViewRepresentable.dismantlePlatformView(_:coordinator:)):
Canonical link: https://commits.webkit.org/294031@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes