Skip to content

Commit

Permalink
Cherry-pick 72233df. rdar://problem/97344886
Browse files Browse the repository at this point in the history
    Unreviewed, fix the Catalyst build after 256119@main

    * Source/WebKit/UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm:
    (WebKit::WebsiteDataStore::initializeManagedDomains):

    Add a missing `!PLATFORM(MACCATALYST)` guard.

    Canonical link: https://commits.webkit.org/256136@main

Canonical link: https://commits.webkit.org/252432.728@safari-7614.3.4.11-branch
  • Loading branch information
whsieh authored and alancoon committed Oct 31, 2022
1 parent ed7a852 commit 5741203
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ static NavigatingToAppBoundDomain schemeOrDomainIsAppBound(const String& host, c
#if PLATFORM(MAC)
NSDictionary *managedSitesPrefs = [NSDictionary dictionaryWithContentsOfFile:[[NSString stringWithFormat:@"/Library/Managed Preferences/%@/%@.plist", NSUserName(), kManagedSitesIdentifier] stringByStandardizingPath]];
crossSiteTrackingPreventionDisabledDomains = [managedSitesPrefs objectForKey:kCrossSiteTrackingPreventionDisabledDomainsKey];
#else
#elif !PLATFORM(MACCATALYST)
if ([PAL::getMCProfileConnectionClass() respondsToSelector:@selector(crossSiteTrackingAllowedDomains)])
crossSiteTrackingPreventionDisabledDomains = [[PAL::getMCProfileConnectionClass() sharedConnection] crossSiteTrackingAllowedDomains];
else
Expand Down

0 comments on commit 5741203

Please sign in to comment.