Summary: | Avoid using WTF::Function for passing local function pointers and closures in URLHelpers.cpp | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Konstantin Tokarev <annulen> | ||||||
Component: | Web Template Framework | Assignee: | Konstantin Tokarev <annulen> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | benjamin, cdumez, cmarcelo, darin, dbates, ews-watchlist, keith_miller, mark.lam, webkit-bug-importer, ysuzuki | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Konstantin Tokarev
2019-06-27 06:29:03 PDT
Created attachment 373026 [details]
Patch
Comment on attachment 373026 [details]
Patch
Why not change ScopedLambda to allow a function pointer?
I thought about that, but it won't be Scoped*Lambda* anymore... Created attachment 373041 [details]
Patch
Yusuke adviced me to change it to template (to avoid indirect call in a loop) Comment on attachment 373041 [details]
Patch
r=me
Comment on attachment 373041 [details] Patch Clearing flags on attachment: 373041 Committed r246906: <https://trac.webkit.org/changeset/246906> All reviewed patches have been landed. Closing bug. |