Title: [292896] trunk/Source/WebKit
- Revision
- 292896
- Author
- [email protected]
- Date
- 2022-04-14 17:21:17 -0700 (Thu, 14 Apr 2022)
Log Message
Unreviewed, fix the Catalyst build after r292888
`MCProfileConnection` is not available on Mac Catalyst.
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _dataOwnerForPasteboard:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (292895 => 292896)
--- trunk/Source/WebKit/ChangeLog 2022-04-14 23:39:06 UTC (rev 292895)
+++ trunk/Source/WebKit/ChangeLog 2022-04-15 00:21:17 UTC (rev 292896)
@@ -1,5 +1,14 @@
2022-04-14 Wenson Hsieh <[email protected]>
+ Unreviewed, fix the Catalyst build after r292888
+
+ `MCProfileConnection` is not available on Mac Catalyst.
+
+ * UIProcess/ios/WKContentViewInteraction.mm:
+ (-[WKContentView _dataOwnerForPasteboard:]):
+
+2022-04-14 Wenson Hsieh <[email protected]>
+
[iOS] [WK2] Managed pasteboard should function for all managed domains
https://bugs.webkit.org/show_bug.cgi?id=239319
rdar://80059355
Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (292895 => 292896)
--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2022-04-14 23:39:06 UTC (rev 292895)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2022-04-15 00:21:17 UTC (rev 292896)
@@ -8216,8 +8216,10 @@
if (specifiedType != WebCore::DataOwnerType::Undefined)
return specifiedType;
+#if !PLATFORM(MACCATALYST)
if ([[PAL::getMCProfileConnectionClass() sharedConnection] isURLManaged:[_webView URL]])
return WebCore::DataOwnerType::Enterprise;
+#endif
return WebCore::DataOwnerType::Undefined;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes