Title: [240349] trunk/Source/WebKit
- Revision
- 240349
- Author
- [email protected]
- Date
- 2019-01-23 11:14:55 -0800 (Wed, 23 Jan 2019)
Log Message
Fix the Apple Internal build. See <rdar://problem/47486758>.
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView dropInteraction:previewForDroppingItem:withDefault:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (240348 => 240349)
--- trunk/Source/WebKit/ChangeLog 2019-01-23 19:13:44 UTC (rev 240348)
+++ trunk/Source/WebKit/ChangeLog 2019-01-23 19:14:55 UTC (rev 240349)
@@ -1,3 +1,10 @@
+2019-01-23 Daniel Bates <[email protected]>
+
+ Fix the Apple Internal build. See <rdar://problem/47486758>.
+
+ * UIProcess/ios/WKContentViewInteraction.mm:
+ (-[WKContentView dropInteraction:previewForDroppingItem:withDefault:]):
+
2019-01-23 Per Arne Vollan <[email protected]>
[macOS] Sandbox fails to compile
Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (240348 => 240349)
--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2019-01-23 19:13:44 UTC (rev 240348)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2019-01-23 19:14:55 UTC (rev 240349)
@@ -6108,6 +6108,7 @@
if (CGRectIsEmpty(caretRect))
return nil;
+ALLOW_DEPRECATED_DECLARATIONS_BEGIN
// FIXME: <rdar://problem/31074376> [WK2] Performing an edit drag should transition from the initial drag preview to the final drop preview
// This is blocked on UIKit support, since we aren't able to update the text clipping rects of a UITargetedDragPreview mid-flight. For now,
// just zoom to the center of the caret rect while shrinking the drop preview.
@@ -6114,6 +6115,7 @@
auto caretRectInWindowCoordinates = [self convertRect:caretRect toView:[UITextEffectsWindow sharedTextEffectsWindow]];
auto caretCenterInWindowCoordinates = CGPointMake(CGRectGetMidX(caretRectInWindowCoordinates), CGRectGetMidY(caretRectInWindowCoordinates));
auto target = adoptNS([[UIDragPreviewTarget alloc] initWithContainer:[UITextEffectsWindow sharedTextEffectsWindow] center:caretCenterInWindowCoordinates transform:CGAffineTransformMakeScale(0, 0)]);
+ALLOW_DEPRECATED_DECLARATIONS_END
return [defaultPreview retargetedPreviewWithTarget:target.get()];
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes