<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - CookieManager only works with the default session"
   href="https://bugs.webkit.org/show_bug.cgi?id=168229#c18">Comment # 18</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - CookieManager only works with the default session"
   href="https://bugs.webkit.org/show_bug.cgi?id=168229">bug 168229</a>
              from <span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=168229#c16">comment #16</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=168229#c15">comment #15</a>)
&gt; &gt; (In reply to <a href="show_bug.cgi?id=168229#c11">comment #11</a>)
&gt; &gt; &gt; (In reply to <a href="show_bug.cgi?id=168229#c5">comment #5</a>)
&gt; &gt; &gt; &gt; Comment on <span class="bz_obsolete"><a href="attachment.cgi?id=301344&amp;action=diff" name="attach_301344" title="Patch">attachment 301344</a> <a href="attachment.cgi?id=301344&amp;action=edit" title="Patch">[details]</a></span>
&gt; &gt; &gt; &gt; Patch
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; I like the direction this code is going in.  Definitely fix the Windows
&gt; &gt; &gt; &gt; build.  WTF::Functions are not copyable, and that seems preferable in this
&gt; &gt; &gt; &gt; case.  Can this be tested?
&gt; &gt; &gt; 
&gt; &gt; &gt; I started using Function but had to change it to std::function to be able to
&gt; &gt; &gt; use it in HashMap value.
&gt; &gt; 
&gt; &gt; Nothing about a Function precludes it from being a HashMap value; We use
&gt; &gt; Functions in HashMap values all the time.
&gt; 
&gt; For hints, search WebKit2 for:
&gt; `HashMap&lt;uint64_t, Function`</span >

I did it when I found the issue, and all those were cases where function is added once and then taken, like completion handlers. In that case there's no problem because take doesn't need to copy, it just moves. Here we need to set once and get multiple times. We could take and set on every get, but I don't think it's worth it.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>