Title: [236849] trunk/Source/WebKitLegacy/mac
Revision
236849
Author
m...@apple.com
Date
2018-10-04 14:02:34 -0700 (Thu, 04 Oct 2018)

Log Message

Retried to fix 32-bit macOS builds after r236846.

* Carbon/HIWebView.mm:
(ActiveStateChanged):

Modified Paths

Diff

Modified: trunk/Source/WebKitLegacy/mac/Carbon/HIWebView.mm (236848 => 236849)


--- trunk/Source/WebKitLegacy/mac/Carbon/HIWebView.mm	2018-10-04 20:58:14 UTC (rev 236848)
+++ trunk/Source/WebKitLegacy/mac/Carbon/HIWebView.mm	2018-10-04 21:02:34 UTC (rev 236849)
@@ -34,7 +34,6 @@
 #import "HIViewAdapter.h"
 #import "WebHTMLViewInternal.h"
 #import "WebKit.h"
-#import <AppKit/NSControl.h>
 #import <pal/spi/mac/NSEventSPI.h>
 #import <pal/spi/mac/NSGraphicsSPI.h>
 #import <pal/spi/mac/QuickDrawSPI.h>
@@ -1072,10 +1071,12 @@
 //
 static void ActiveStateChanged(HIWebView* view)
 {
+IGNORE_WARNINGS_BEGIN("undeclared-selector")
     if ([view->fWebView respondsToSelector:@selector(setEnabled)]) {
         [(NSControl*)view->fWebView setEnabled: IsControlEnabled(view->fViewRef)];
         HIViewSetNeedsDisplay(view->fViewRef, true);
     }
+IGNORE_WARNINGS_END
 }
 
 

Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (236848 => 236849)


--- trunk/Source/WebKitLegacy/mac/ChangeLog	2018-10-04 20:58:14 UTC (rev 236848)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog	2018-10-04 21:02:34 UTC (rev 236849)
@@ -1,5 +1,12 @@
 2018-10-04  Dan Bernstein  <m...@apple.com>
 
+        Retried to fix 32-bit macOS builds after r236846.
+
+        * Carbon/HIWebView.mm:
+        (ActiveStateChanged):
+
+2018-10-04  Dan Bernstein  <m...@apple.com>
+
         Tried to fix 32-bit macOS builds after r236846.
 
         * Carbon/HIWebView.mm:
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to