[webkit-changes] [WebKit/WebKit] b40a86: [Cocoa] Fix warnings in WebKitSwift
aestes
noreply at github.com
Sun Sep 10 20:48:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b40a8604e4ebfd274664198564dd88bbdd93136a
https://github.com/WebKit/WebKit/commit/b40a8604e4ebfd274664198564dd88bbdd93136a
Author: Andy Estes <aestes at apple.com>
Date: 2023-09-10 (Sun, 10 Sep 2023)
Changed paths:
M Source/WebKit/UIProcess/Cocoa/GroupActivities/WKGroupSession.swift
M Source/WebKit/WebKit.xcodeproj/project.pbxproj
Log Message:
-----------
[Cocoa] Fix warnings in WebKitSwift
https://bugs.webkit.org/show_bug.cgi?id=261389
rdar://115260515
Reviewed by Richard Robinson.
- Added availability annotations to public types.
- Replaced deprecated Task APIs with modern replacements.
- Removed the unnecessary WK prefix from Swift types.
- Ensured that WebKitSwift is built in engineering builds.
* Source/WebKit/UIProcess/Cocoa/GroupActivities/WKGroupSession.swift:
(GroupSessionWrapper.activity):
(GroupSessionWrapper.wrapperSessionState(_:)):
(GroupSessionWrapper.state):
(GroupSessionWrapper.newActivityCallback):
(GroupSessionWrapper.stateChangedCallback):
(GroupSessionWrapper.activityChanged(_:)):
(GroupSessionWrapper.stateChanged(_:)):
(WKGroupSessionObserver.newSessionCallback):
(WKGroupSessionObserver.incomingSessionsTask):
(WKGroupSessionObserver.receivedSession(_:)):
(WKURLActivityWrapper.urlActivity): Deleted.
(WKURLActivityWrapper.fallbackURL): Deleted.
(WKGroupSessionWrapper.groupSession): Deleted.
(WKGroupSessionWrapper.cancellables): Deleted.
(WKGroupSessionWrapper.activity): Deleted.
(WKGroupSessionWrapper.uuid): Deleted.
(WKGroupSessionWrapper.wrapperSessionState(_:)): Deleted.
(WKGroupSessionWrapper.state): Deleted.
(WKGroupSessionWrapper.newActivityCallback): Deleted.
(WKGroupSessionWrapper.stateChangedCallback): Deleted.
(WKGroupSessionWrapper.join): Deleted.
(WKGroupSessionWrapper.leave): Deleted.
(WKGroupSessionWrapper.coordinate(_:)): Deleted.
(WKGroupSessionWrapper.activityChanged(_:)): Deleted.
(WKGroupSessionWrapper.stateChanged(_:)): Deleted.
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
Canonical link: https://commits.webkit.org/267853@main
More information about the webkit-changes
mailing list