⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 292896 in webkit


Ignore:
Timestamp:
Apr 14, 2022, 5:21:17 PM (4 years ago)
Author:
Wenson Hsieh
Message:

Unreviewed, fix the Catalyst build after r292888

MCProfileConnection is not available on Mac Catalyst.

  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKContentView _dataOwnerForPasteboard:]):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r292888 r292896  
     12022-04-14  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        Unreviewed, fix the Catalyst build after r292888
     4
     5        `MCProfileConnection` is not available on Mac Catalyst.
     6
     7        * UIProcess/ios/WKContentViewInteraction.mm:
     8        (-[WKContentView _dataOwnerForPasteboard:]):
     9
    1102022-04-14  Wenson Hsieh  <wenson_hsieh@apple.com>
    211
  • trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r292888 r292896  
    82178217        return specifiedType;
    82188218
     8219#if !PLATFORM(MACCATALYST)
    82198220    if ([[PAL::getMCProfileConnectionClass() sharedConnection] isURLManaged:[_webView URL]])
    82208221        return WebCore::DataOwnerType::Enterprise;
     8222#endif
    82218223
    82228224    return WebCore::DataOwnerType::Undefined;
Note: See TracChangeset for help on using the changeset viewer.