Skip to content

Commit

Permalink
Unreviewed, fix the Mac Catalyst engineering build after 271391@main
Browse files Browse the repository at this point in the history
`webProcessAccessibilityBundlePath()` is unused in Mac Catalyst after the changes in
<https://commits.webkit.org/271391@main>.

* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::webProcessAccessibilityBundlePath):

Canonical link: https://commits.webkit.org/273100@main
  • Loading branch information
whsieh committed Jan 16, 2024
1 parent 1c19226 commit eb4a139
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm
Original file line number Diff line number Diff line change
Expand Up @@ -691,14 +691,13 @@ static void setVideoDecoderBehaviors(OptionSet<VideoDecoderBehavior> videoDecode
return [path stringByAppendingPathComponent:@"System/Library/AccessibilityBundles/WebProcessLoader.axbundle"];
}

#if !PLATFORM(MACCATALYST)
static NSString *webProcessAccessibilityBundlePath()
{
NSString *path = (__bridge NSString *)GSSystemRootDirectory();
#if PLATFORM(MACCATALYST)
path = [path stringByAppendingPathComponent:@"System/iOSSupport"];
#endif
return [path stringByAppendingPathComponent:@"System/Library/AccessibilityBundles/WebProcess.axbundle"];
}
#endif // !PLATFORM(MACCATALYST)
#endif

static void registerWithAccessibility()
Expand Down

0 comments on commit eb4a139

Please sign in to comment.