Bug 225884

Summary: [iOS] Stop soft linking UIKit function in WebCore
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: NEW ---    
Severity: Normal CC: bfulgham, ddkilzer, ggaren, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
ews-feeder: commit-queue-
Patch
none
Patch
none
Patch
ews-feeder: commit-queue-
Patch
none
Patch
none
Patch
none
Patch thorton: review-

Description Per Arne Vollan 2021-05-17 13:58:22 PDT
For performance reasons, stop soft linking UIAccessibilityIsInvertColorsEnabled.
Comment 1 Per Arne Vollan 2021-05-17 13:59:49 PDT
Created attachment 428864 [details]
Patch
Comment 2 Per Arne Vollan 2021-05-17 14:38:04 PDT
Created attachment 428874 [details]
Patch
Comment 3 Per Arne Vollan 2021-05-17 15:33:08 PDT
Created attachment 428879 [details]
Patch
Comment 4 Per Arne Vollan 2021-05-17 15:46:17 PDT
Created attachment 428881 [details]
Patch
Comment 5 Per Arne Vollan 2021-05-18 07:34:11 PDT
Created attachment 428934 [details]
Patch
Comment 6 Per Arne Vollan 2021-05-18 07:49:28 PDT
Created attachment 428937 [details]
Patch
Comment 7 Per Arne Vollan 2021-05-18 11:05:43 PDT
Created attachment 428955 [details]
Patch
Comment 8 Per Arne Vollan 2021-05-18 12:05:08 PDT
Created attachment 428961 [details]
Patch
Comment 9 Per Arne Vollan 2021-05-19 07:21:46 PDT
Created attachment 429047 [details]
Patch
Comment 10 Radar WebKit Bug Importer 2021-05-19 07:22:42 PDT
<rdar://problem/78204423>
Comment 11 Per Arne Vollan 2021-05-19 07:26:54 PDT
<rdar://76012088>
Comment 12 Tim Horton 2021-05-19 09:57:45 PDT
WebCore cannot link UIKit.
Comment 13 Tim Horton 2021-05-19 10:10:27 PDT
(The correct layering would see you delegate this to WebKit and implement it there, but WebKitLegacy can’t link UIKit either so you’d have to further delegate out to UIKit in the WebKitLegacy case.)
Comment 14 Per Arne Vollan 2021-05-19 10:35:43 PDT
(In reply to Tim Horton from comment #13)
> (The correct layering would see you delegate this to WebKit and implement it
> there, but WebKitLegacy can’t link UIKit either so you’d have to further
> delegate out to UIKit in the WebKitLegacy case.)

Ah, got it!

Thanks for reviewing!
Comment 15 David Kilzer (:ddkilzer) 2024-03-29 08:41:10 PDT
I think we have to use upward linking to solve this, but we have to do it for all UIKit symbols used in WebCore.