Title: [236847] trunk/Source/WebKitLegacy/mac
Revision
236847
Author
[email protected]
Date
2018-10-04 13:47:32 -0700 (Thu, 04 Oct 2018)

Log Message

Tried to fix 32-bit macOS builds after r236846.

* Carbon/HIWebView.mm:
(_NSSelectorForHICommand):

Modified Paths

Diff

Modified: trunk/Source/WebKitLegacy/mac/Carbon/HIWebView.mm (236846 => 236847)


--- trunk/Source/WebKitLegacy/mac/Carbon/HIWebView.mm	2018-10-04 20:36:56 UTC (rev 236846)
+++ trunk/Source/WebKitLegacy/mac/Carbon/HIWebView.mm	2018-10-04 20:47:32 UTC (rev 236847)
@@ -34,6 +34,7 @@
 #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>
@@ -1161,6 +1162,7 @@
 //
 static SEL _NSSelectorForHICommand(const HICommand* inCommand)
 {
+IGNORE_WARNINGS_BEGIN("undeclared-selector")
     switch (inCommand->commandID) {
     case kHICommandUndo:
         return @selector(undo:);
@@ -1179,6 +1181,7 @@
     default:
         return nullptr;
     }
+IGNORE_WARNINGS_END
 
     return nullptr;
 }

Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (236846 => 236847)


--- trunk/Source/WebKitLegacy/mac/ChangeLog	2018-10-04 20:36:56 UTC (rev 236846)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog	2018-10-04 20:47:32 UTC (rev 236847)
@@ -1,5 +1,12 @@
 2018-10-04  Dan Bernstein  <[email protected]>
 
+        Tried to fix 32-bit macOS builds after r236846.
+
+        * Carbon/HIWebView.mm:
+        (_NSSelectorForHICommand):
+
+2018-10-04  Dan Bernstein  <[email protected]>
+
         WebKitLegacy part of [Xcode] Update some build settings as recommended by Xcode 10
         https://bugs.webkit.org/show_bug.cgi?id=190250
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to