[Webkit-unassigned] [Bug 170093] Add API to get available content extension identifiers in a WKContentExtensionStore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 10 11:03:03 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170093

--- Comment #3 from Alex Christensen <achristensen at apple.com> ---
Comment on attachment 305352
  --> https://bugs.webkit.org/attachment.cgi?id=305352
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=305352&action=review

>> Source/WebKit2/UIProcess/API/Cocoa/WKContentExtensionStore.mm:115
>> +        NSMutableArray<NSString *> *nsIdentifiers = [NSMutableArray arrayWithCapacity:100];
> 
> Why not use the capacity in identifiers?

100 ought to be enough for anyone.
JK, this should obviously be the actual capacity.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170410/967fb767/attachment.html>


More information about the webkit-unassigned mailing list