Title: [230204] trunk/Source/WebKit
Revision
230204
Author
[email protected]
Date
2018-04-03 08:51:50 -0700 (Tue, 03 Apr 2018)

Log Message

Fix the managed configurations build
https://bugs.webkit.org/show_bug.cgi?id=184253
-and corresponding-
rdar://problem/39078586

Reviewed by Dan Bernstein.

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView canPerformActionForWebView:withSender:]):
(-[WKContentView _defineForWebView:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (230203 => 230204)


--- trunk/Source/WebKit/ChangeLog	2018-04-03 15:09:10 UTC (rev 230203)
+++ trunk/Source/WebKit/ChangeLog	2018-04-03 15:51:50 UTC (rev 230204)
@@ -1,3 +1,16 @@
+2018-04-02  Beth Dakin  <[email protected]>
+
+        Fix the managed configurations build
+        https://bugs.webkit.org/show_bug.cgi?id=184253
+        -and corresponding-
+        rdar://problem/39078586
+
+        Reviewed by Dan Bernstein.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (-[WKContentView canPerformActionForWebView:withSender:]):
+        (-[WKContentView _defineForWebView:]):
+
 2018-04-02  Carlos Garcia Campos  <[email protected]>
 
         [Enchant] Clean up TextCheckerEnchant

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (230203 => 230204)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2018-04-03 15:09:10 UTC (rev 230203)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2018-04-03 15:51:50 UTC (rev 230204)
@@ -2243,8 +2243,10 @@
         if (!textLength || textLength > 200)
             return NO;
 
+#if !ENABLE(MINIMAL_SIMULATOR)
         if ([[getMCProfileConnectionClass() sharedConnection] effectiveBoolValueForSetting:MCFeatureDefinitionLookupAllowed] == MCRestrictedBoolExplicitNo)
             return NO;
+#endif
             
         return YES;
     }
@@ -2252,10 +2254,12 @@
     if (action == @selector(_lookup:)) {
         if (_page->editorState().isInPasswordField)
             return NO;
-        
+
+#if !ENABLE(MINIMAL_SIMULATOR)
         if ([[getMCProfileConnectionClass() sharedConnection] effectiveBoolValueForSetting:MCFeatureDefinitionLookupAllowed] == MCRestrictedBoolExplicitNo)
             return NO;
-        
+#endif
+
         return YES;
     }
 
@@ -2413,8 +2417,10 @@
 
 - (void)_defineForWebView:(id)sender
 {
+#if !ENABLE(MINIMAL_SIMULATOR)
     if ([[getMCProfileConnectionClass() sharedConnection] effectiveBoolValueForSetting:MCFeatureDefinitionLookupAllowed] == MCRestrictedBoolExplicitNo)
         return;
+#endif
 
     RetainPtr<WKContentView> view = self;
     _page->getSelectionOrContentsAsString([view](const String& string, WebKit::CallbackBase::Error error) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to