[Webkit-unassigned] [Bug 168229] CookieManager only works with the default session

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 14 22:29:32 PST 2017


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

--- Comment #17 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #15)
> (In reply to comment #11)
> > (In reply to comment #5)
> > > Comment on attachment 301344 [details]
> > > Patch
> > > 
> > > I like the direction this code is going in.  Definitely fix the Windows
> > > build.  WTF::Functions are not copyable, and that seems preferable in this
> > > case.  Can this be tested?
> > 
> > I started using Function but had to change it to std::function to be able to
> > use it in HashMap value.
> 
> Nothing about a Function precludes it from being a HashMap value; We use
> Functions in HashMap values all the time.
> 
> What was preventing you from doing so?
> 
> Could you please revisit this?

You are right, now I remember exactly the issue. You can indeed use Function as a value of a HshMap, but you can't get it, because that always requires a copy, at least with the current HashMap implementation, I'm not sure if it's possible to implement a git without copying.

-- 
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/20170215/1de42b0a/attachment.html>


More information about the webkit-unassigned mailing list