Title: [181705] trunk/Source/WebKit2
- Revision
- 181705
- Author
- [email protected]
- Date
- 2015-03-18 11:40:48 -0700 (Wed, 18 Mar 2015)
Log Message
Cannot invoke action menus anymore
https://bugs.webkit.org/show_bug.cgi?id=142797
<rdar://problem/20032670>
* UIProcess/API/mac/WKView.mm:
Need one more respondsToSelector check.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (181704 => 181705)
--- trunk/Source/WebKit2/ChangeLog 2015-03-18 18:30:47 UTC (rev 181704)
+++ trunk/Source/WebKit2/ChangeLog 2015-03-18 18:40:48 UTC (rev 181705)
@@ -1,3 +1,12 @@
+2015-03-18 Tim Horton <[email protected]>
+
+ Cannot invoke action menus anymore
+ https://bugs.webkit.org/show_bug.cgi?id=142797
+ <rdar://problem/20032670>
+
+ * UIProcess/API/mac/WKView.mm:
+ Need one more respondsToSelector check.
+
2015-03-18 Chris Dumez <[email protected]>
[WK2] Log the number of network cache requests that we have never seen before
Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm (181704 => 181705)
--- trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm 2015-03-18 18:30:47 UTC (rev 181704)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm 2015-03-18 18:40:48 UTC (rev 181705)
@@ -1213,7 +1213,7 @@
LOG(TextInput, "%s was handled by text input context", String(#Selector).substring(0, String(#Selector).find("Internal")).ascii().data()); \
return; \
} \
- if ([NSMenu menuTypeForEvent:theEvent] == NSMenuTypeActionMenu) { \
+ if ([NSMenu respondsToSelector:@selector(menuTypeForEvent:)] && [NSMenu menuTypeForEvent:theEvent] == NSMenuTypeActionMenu) { \
[super Selector:theEvent]; \
return; \
} \
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes