Changeset 236968 in webkit
- Timestamp:
- Oct 9, 2018, 10:56:58 AM (8 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
Platform/spi/ios/UIKitSPI.h (modified) (1 diff)
-
UIProcess/ios/WKContentViewInteraction.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r236966 r236968 1 2018-10-09 Andy Estes <aestes@apple.com> 2 3 [iOS] Replace @"UIPreviewDataAttachmentListIsContentManaged" with a UIKit constant 4 https://bugs.webkit.org/show_bug.cgi?id=190400 5 <rdar://problem/35442879> 6 7 Reviewed by Wenson Hsieh. 8 9 Also fixed the iOS version check in WKContentViewInteraction.mm. 10 11 * Platform/spi/ios/UIKitSPI.h: 12 * UIProcess/ios/WKContentViewInteraction.mm: 13 (-[WKContentView _dataForPreviewItemController:atPosition:type:]): 14 1 15 2018-10-09 Tim Horton <timothy_horton@apple.com> 2 16 -
trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h
r236935 r236968 1122 1122 extern const NSString *UIPreviewDataAttachmentIndex; 1123 1123 1124 #if __IPHONE_OS_VERSION_MAX_ALLOWED < 130000 1124 1125 extern NSString * const UIPreviewDataAttachmentListSourceIsManaged; 1126 #else 1127 extern NSString * const UIPreviewDataAttachmentListIsContentManaged; 1128 #endif 1125 1129 1126 1130 UIEdgeInsets UIEdgeInsetsAdd(UIEdgeInsets lhs, UIEdgeInsets rhs, UIRectEdge); -
trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
r236935 r236968 6172 6172 dataForPreview[UIPreviewDataAttachmentIndex] = [NSNumber numberWithUnsignedInteger:index]; 6173 6173 6174 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 120000 6175 // FIXME: Replace the following NSString literal with a UIKit NSString constant. 6176 dataForPreview[@"UIPreviewDataAttachmentListIsContentManaged"] = [NSNumber numberWithBool:sourceIsManaged]; 6174 #if __IPHONE_OS_VERSION_MIN_REQUIRED < 130000 6175 dataForPreview[UIPreviewDataAttachmentListSourceIsManaged] = [NSNumber numberWithBool:sourceIsManaged]; 6177 6176 #else 6178 dataForPreview[UIPreviewDataAttachmentList SourceIsManaged] = [NSNumber numberWithBool:sourceIsManaged];6177 dataForPreview[UIPreviewDataAttachmentListIsContentManaged] = [NSNumber numberWithBool:sourceIsManaged]; 6179 6178 #endif 6180 6179 }
Note:
See TracChangeset
for help on using the changeset viewer.