Changeset 219226 in webkit
- Timestamp:
- Jul 6, 2017 5:00:30 PM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r219223 r219226 1 2017-07-06 Joseph Pecoraro <pecoraro@apple.com> 2 3 [Cocoa] CTParagraphStyle leak under WebCore::LinkImageLayout::LinkImageLayout 4 https://bugs.webkit.org/show_bug.cgi?id=174228 5 6 Reviewed by Andreas Kling. 7 8 * platform/mac/DragImageMac.mm: 9 (WebCore::LinkImageLayout::LinkImageLayout): 10 1 11 2017-07-06 Myles C. Maxfield <mmaxfield@apple.com> 2 12 -
trunk/Source/WebCore/platform/mac/DragImageMac.mm
r219191 r219226 227 227 paragraphStyleSettings[0].valueSize = sizeof(CTLineBreakMode); 228 228 paragraphStyleSettings[0].value = &lineBreakMode; 229 RetainPtr<CTParagraphStyleRef> paragraphStyle = CTParagraphStyleCreate(paragraphStyleSettings, 1);229 RetainPtr<CTParagraphStyleRef> paragraphStyle = adoptCF(CTParagraphStyleCreate(paragraphStyleSettings, 1)); 230 230 231 231 NSDictionary *textAttributes = @{
Note: See TracChangeset
for help on using the changeset viewer.