Changeset 291062 in webkit
- Timestamp:
- Mar 9, 2022 12:59:08 PM (2 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r291061 r291062 1 2022-03-09 Per Arne Vollan <pvollan@apple.com> 2 3 The accessibility library should be soft linked optionally 4 https://bugs.webkit.org/show_bug.cgi?id=236513 5 6 Reviewed by Geoffrey Garen. 7 8 The accessibility library should be soft linked optionally, since it is not always present. 9 10 * Shared/Cocoa/AuxiliaryProcessCocoa.mm: 11 (WebKit::handleAXPreferenceChange): 12 (WebKit::AuxiliaryProcess::handlePreferenceChange): 13 1 14 2022-03-09 Don Olmstead <don.olmstead@sony.com> 2 15 -
trunk/Source/WebKit/Shared/Cocoa/AuxiliaryProcessCocoa.mm
r291010 r291062 47 47 48 48 #if HAVE(UPDATE_WEB_ACCESSIBILITY_SETTINGS) && ENABLE(CFPREFS_DIRECT_MODE) 49 SOFT_LINK_LIBRARY (libAccessibility)49 SOFT_LINK_LIBRARY_OPTIONAL(libAccessibility) 50 50 SOFT_LINK_OPTIONAL(libAccessibility, _AXSUpdateWebAccessibilitySettings, void, (), ()); 51 51 #endif … … 198 198 #endif 199 199 200 void AuxiliaryProcess::handlePreferenceChange(const String& domain, const String& key, id value) 201 { 200 static void handleAXPreferenceChange(const String& domain, const String& key, id value) 201 { 202 #if HAVE(UPDATE_WEB_ACCESSIBILITY_SETTINGS) 203 if (!libAccessibilityLibrary()) 204 return; 205 #endif 206 202 207 if (domain == String(kAXSAccessibilityPreferenceDomain)) { 203 208 #if HAVE(UPDATE_WEB_ACCESSIBILITY_SETTINGS) … … 213 218 #endif 214 219 } 215 220 } 221 222 void AuxiliaryProcess::handlePreferenceChange(const String& domain, const String& key, id value) 223 { 224 handleAXPreferenceChange(domain, key, value); 216 225 dispatchSimulatedNotificationsForPreferenceChange(key); 217 226 }
Note: See TracChangeset
for help on using the changeset viewer.