Changeset 150054 in webkit
- Timestamp:
- May 13, 2013 9:09:27 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r150053 r150054 1 2013-05-13 David Kilzer <ddkilzer@apple.com> 2 3 BUILD FIX (r150049): Fix RetainPtr<> type in PasteboardIOS.mm 4 5 * platform/ios/PasteboardIOS.mm: 6 (WebCore::Pasteboard::writeImage): Use RetainPtr<CFStringRef> 7 instead of RetainPtr<NSString>. 8 1 9 2013-05-13 Benjamin Poulain <bpoulain@apple.com> 2 10 -
trunk/Source/WebCore/platform/ios/PasteboardIOS.mm
r150049 r150054 196 196 RetainPtr<NSMutableDictionary> dictionary = adoptNS([[NSMutableDictionary alloc] init]); 197 197 NSString *mimeType = cachedImage->response().mimeType(); 198 RetainPtr< NSString> uti = adoptCF((NSString *)UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, (CFStringRef)mimeType, NULL));198 RetainPtr<CFStringRef> uti = adoptCF(UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, (CFStringRef)mimeType, NULL)); 199 199 if (uti) { 200 [dictionary.get() setObject:imageData.get() forKey: uti.get()];200 [dictionary.get() setObject:imageData.get() forKey:(NSString *)uti.get()]; 201 201 [dictionary.get() setObject:(NSString *)node->document()->completeURL(stripLeadingAndTrailingHTMLSpaces(static_cast<HTMLElement*>(node)->getAttribute("src"))) forKey:(NSString *)kUTTypeURL]; 202 202 }
Note: See TracChangeset
for help on using the changeset viewer.