Changeset 175418 in webkit
- Timestamp:
- Oct 31, 2014, 1:21:26 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r175417 r175418 1 2014-10-31 Timothy Horton <timothy_horton@apple.com> 2 3 Remove "Add to iPhoto" from the action menu's sharing menu 4 https://bugs.webkit.org/show_bug.cgi?id=138251 5 <rdar://problem/18837197> 6 7 Reviewed by Anders Carlsson. 8 9 * UIProcess/mac/WKActionMenuController.mm: 10 (-[WKActionMenuController sharingServicePicker:sharingServicesForItems:mask:proposedSharingServices:]): 11 Retain/autorelease the new array. 12 1 13 2014-10-31 Tim Horton <timothy_horton@apple.com> 2 14 -
trunk/Source/WebKit2/UIProcess/mac/WKActionMenuController.mm
r175417 r175418 349 349 - (NSArray *)sharingServicePicker:(NSSharingServicePicker *)sharingServicePicker sharingServicesForItems:(NSArray *)items mask:(NSSharingServiceMask)mask proposedSharingServices:(NSArray *)proposedServices 350 350 { 351 NSMutableArray *services = [[NSMutableArray alloc] initWithCapacity:proposedServices.count];351 RetainPtr<NSMutableArray> services = adoptNS([[NSMutableArray alloc] initWithCapacity:proposedServices.count]); 352 352 353 353 for (NSSharingService *service in proposedServices) { … … 357 357 } 358 358 359 return services ;359 return services.autorelease(); 360 360 } 361 361
Note:
See TracChangeset
for help on using the changeset viewer.