Title: [242805] trunk/Source/WebKit
- Revision
- 242805
- Author
- [email protected]
- Date
- 2019-03-12 11:23:54 -0700 (Tue, 12 Mar 2019)
Log Message
Fix the build after 242801
* UIProcess/ios/WKActionSheetAssistant.mm:
(-[WKActionSheetAssistant _elementActionForDDAction:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (242804 => 242805)
--- trunk/Source/WebKit/ChangeLog 2019-03-12 18:08:17 UTC (rev 242804)
+++ trunk/Source/WebKit/ChangeLog 2019-03-12 18:23:54 UTC (rev 242805)
@@ -1,3 +1,10 @@
+2019-03-12 Tim Horton <[email protected]>
+
+ Fix the build after 242801
+
+ * UIProcess/ios/WKActionSheetAssistant.mm:
+ (-[WKActionSheetAssistant _elementActionForDDAction:]):
+
2019-03-12 Eric Carlson <[email protected]>
[iOS] Sandbox must allow mach lookup required to compress video
Modified: trunk/Source/WebKit/UIProcess/ios/WKActionSheetAssistant.mm (242804 => 242805)
--- trunk/Source/WebKit/UIProcess/ios/WKActionSheetAssistant.mm 2019-03-12 18:08:17 UTC (rev 242804)
+++ trunk/Source/WebKit/UIProcess/ios/WKActionSheetAssistant.mm 2019-03-12 18:23:54 UTC (rev 242805)
@@ -168,6 +168,7 @@
- (_WKElementAction *)_elementActionForDDAction:(DDAction *)action
{
+#if PLATFORM(IOS)
auto retainedSelf = retainPtr(self);
_WKElementAction *elementAction = [_WKElementAction elementActionWithTitle:action.localizedName actionHandler:^(_WKActivatedElementInfo *actionInfo) {
retainedSelf->_isPresentingDDUserInterface = action.hasUserInterface;
@@ -177,6 +178,9 @@
return !action.hasUserInterface;
};
return elementAction;
+#else
+ return nil;
+#endif
}
static const CGFloat presentationElementRectPadding = 15;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes