Title: [291010] trunk/Source/WebKit
- Revision
- 291010
- Author
- [email protected]
- Date
- 2022-03-08 13:42:10 -0800 (Tue, 08 Mar 2022)
Log Message
Unreviewed, reverting r291006.
https://bugs.webkit.org/show_bug.cgi?id=237618
Introduced build failure.
Reverted changeset:
"The accessibility library should be soft linked optionally"
https://bugs.webkit.org/show_bug.cgi?id=236513
https://commits.webkit.org/r291006
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (291009 => 291010)
--- trunk/Source/WebKit/ChangeLog 2022-03-08 21:39:43 UTC (rev 291009)
+++ trunk/Source/WebKit/ChangeLog 2022-03-08 21:42:10 UTC (rev 291010)
@@ -1,3 +1,16 @@
+2022-03-08 Commit Queue <[email protected]>
+
+ Unreviewed, reverting r291006.
+ https://bugs.webkit.org/show_bug.cgi?id=237618
+
+ Introduced build failure.
+
+ Reverted changeset:
+
+ "The accessibility library should be soft linked optionally"
+ https://bugs.webkit.org/show_bug.cgi?id=236513
+ https://commits.webkit.org/r291006
+
2022-03-08 Per Arne Vollan <[email protected]>
The accessibility library should be soft linked optionally
Modified: trunk/Source/WebKit/Shared/Cocoa/AuxiliaryProcessCocoa.mm (291009 => 291010)
--- trunk/Source/WebKit/Shared/Cocoa/AuxiliaryProcessCocoa.mm 2022-03-08 21:39:43 UTC (rev 291009)
+++ trunk/Source/WebKit/Shared/Cocoa/AuxiliaryProcessCocoa.mm 2022-03-08 21:42:10 UTC (rev 291010)
@@ -46,7 +46,7 @@
#endif
#if HAVE(UPDATE_WEB_ACCESSIBILITY_SETTINGS) && ENABLE(CFPREFS_DIRECT_MODE)
-SOFT_LINK_LIBRARY_OPTIONAL(libAccessibility)
+SOFT_LINK_LIBRARY(libAccessibility)
SOFT_LINK_OPTIONAL(libAccessibility, _AXSUpdateWebAccessibilitySettings, void, (), ());
#endif
@@ -197,13 +197,8 @@
}
#endif
-static void handleAXPreferenceChange(const String& domain, const String& key, id value)
+void AuxiliaryProcess::handlePreferenceChange(const String& domain, const String& key, id value)
{
-#if HAVE(UPDATE_WEB_ACCESSIBILITY_SETTINGS)
- if (!liblibAccessibility())
- return;
-#endif
-
if (domain == String(kAXSAccessibilityPreferenceDomain)) {
#if HAVE(UPDATE_WEB_ACCESSIBILITY_SETTINGS)
if (_AXSUpdateWebAccessibilitySettingsPtr())
@@ -217,11 +212,7 @@
_AXSSetDarkenSystemColors([(NSNumber *)value boolValue]);
#endif
}
-}
-void AuxiliaryProcess::handlePreferenceChange(const String& domain, const String& key, id value)
-{
- handleAXPreferenceChange(domain, key, value);
dispatchSimulatedNotificationsForPreferenceChange(key);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes