Title: [229873] branches/safari-605-branch/Tools/DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm
Revision
229873
Author
[email protected]
Date
2018-03-22 17:18:49 -0700 (Thu, 22 Mar 2018)

Log Message

Apply patch. rdar://problem/38758039

Modified Paths


Diff

Modified: branches/safari-605-branch/Tools/DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm (229872 => 229873)


--- branches/safari-605-branch/Tools/DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm	2018-03-23 00:00:55 UTC (rev 229872)
+++ branches/safari-605-branch/Tools/DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm	2018-03-23 00:18:49 UTC (rev 229873)
@@ -246,15 +246,19 @@
     // Ignored.
 }
 
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
 static NSMutableArray<NSFilePromiseReceiver *> *allFilePromiseReceivers()
 {
     static NSMutableArray<NSFilePromiseReceiver *> *allReceivers = [[NSMutableArray alloc] init];
     return allReceivers;
 }
+#endif
 
 + (void)clearAllFilePromiseReceivers
 {
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
     [allFilePromiseReceivers() removeAllObjects];
+#endif
 }
 
 - (void)enumerateDraggingItemsWithOptions:(NSEnumerationOptions)enumOptions forView:(NSView *)view classes:(NSArray *)classArray searchOptions:(NSDictionary *)searchOptions usingBlock:(void (^)(NSDraggingItem *draggingItem, NSInteger idx, BOOL *stop))block
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to