Changeset 240900 in webkit


Ignore:
Timestamp:
Feb 2, 2019 12:20:36 PM (5 years ago)
Author:
ddkilzer@apple.com
Message:

Leak of NSArray (4.25 Kbytes) in com.apple.WebKit.WebContent running WebKit layout tests on iOS Simulator
<https://webkit.org/b/194178>
<rdar://problem/47753473>

Reviewed by Alexey Proskuryakov.

  • WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:

(WTR::uninstallFakeHelvetica): Pass nullptr into
CTFontManagerUnregisterFontsForURLs() to ignore any errors.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r240895 r240900  
     12019-02-02  David Kilzer  <ddkilzer@apple.com>
     2
     3        Leak of NSArray (4.25 Kbytes) in com.apple.WebKit.WebContent running WebKit layout tests on iOS Simulator
     4        <https://webkit.org/b/194178>
     5        <rdar://problem/47753473>
     6
     7        Reviewed by Alexey Proskuryakov.
     8
     9        * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
     10        (WTR::uninstallFakeHelvetica): Pass nullptr into
     11        CTFontManagerUnregisterFontsForURLs() to ignore any errors.
     12
    1132019-02-02  Zalan Bujtas  <zalan@apple.com>
    214
  • trunk/Tools/WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm

    r239709 r240900  
    155155            [fontsToRemove addObject:url];
    156156    }
    157     CFArrayRef errors = nullptr;
    158     CTFontManagerUnregisterFontsForURLs(static_cast<CFArrayRef>(fontsToRemove), kCTFontManagerScopeProcess, &errors);
     157    CTFontManagerUnregisterFontsForURLs(static_cast<CFArrayRef>(fontsToRemove), kCTFontManagerScopeProcess, nullptr);
    159158}
    160159
Note: See TracChangeset for help on using the changeset viewer.