[Webkit-unassigned] [Bug 199271] New: Avoid using WTF::Function for passing local function pointers and closures in URLHelpers.cpp
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 27 06:29:03 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=199271
Bug ID: 199271
Summary: Avoid using WTF::Function for passing local function
pointers and closures in URLHelpers.cpp
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Template Framework
Assignee: webkit-unassigned at lists.webkit.org
Reporter: annulen at yandex.ru
WTF::Function allocates memory on heap, which is totally redundant in this case.
I've also tried using ScopedLambda, however its constructor doesn't allow conversion from non-lambda functions.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190627/e2c37835/attachment.html>
More information about the webkit-unassigned
mailing list