Title: [228859] trunk/Tools
Revision
228859
Author
[email protected]
Date
2018-02-20 21:48:38 -0800 (Tue, 20 Feb 2018)

Log Message

Try to fix the 32-bit build after r228857

* WebKitTestRunner/mac/UIScriptControllerMac.mm:
(WTR::UIScriptController::firstResponderSuppressionForWebView):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (228858 => 228859)


--- trunk/Tools/ChangeLog	2018-02-21 04:39:29 UTC (rev 228858)
+++ trunk/Tools/ChangeLog	2018-02-21 05:48:38 UTC (rev 228859)
@@ -1,3 +1,10 @@
+2018-02-20  Timothy Horton  <[email protected]>
+
+        Try to fix the 32-bit build after r228857
+
+        * WebKitTestRunner/mac/UIScriptControllerMac.mm:
+        (WTR::UIScriptController::firstResponderSuppressionForWebView):
+
 2018-02-20  Nan Wang  <[email protected]>
 
         AX: Keyboard focus not following VoiceOver cursor into web content or within web content.

Modified: trunk/Tools/WebKitTestRunner/mac/UIScriptControllerMac.mm (228858 => 228859)


--- trunk/Tools/WebKitTestRunner/mac/UIScriptControllerMac.mm	2018-02-21 04:39:29 UTC (rev 228858)
+++ trunk/Tools/WebKitTestRunner/mac/UIScriptControllerMac.mm	2018-02-21 05:48:38 UTC (rev 228859)
@@ -241,8 +241,12 @@
 
 void UIScriptController::firstResponderSuppressionForWebView(bool shouldSuppress)
 {
+#if WK_API_ENABLED
     auto* webView = TestController::singleton().mainWebView()->platformView();
     [webView _setShouldSuppressFirstResponderChanges:shouldSuppress];
+#else
+    UNUSED_PARAM(shouldSuppress);
+#endif
 }
 
 void UIScriptController::makeWindowContentViewFirstResponder()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to