<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [WinCairo] GStreamer compile errors."
   href="https://bugs.webkit.org/show_bug.cgi?id=149839#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [WinCairo] GStreamer compile errors."
   href="https://bugs.webkit.org/show_bug.cgi?id=149839">bug 149839</a>
              from <span class="vcard"><a class="email" href="mailto:zan&#64;falconsigh.net" title="Zan Dobersek &lt;zan&#64;falconsigh.net&gt;"> <span class="fn">Zan Dobersek</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=262511&amp;action=diff" name="attach_262511" title="Patch">attachment 262511</a> <a href="attachment.cgi?id=262511&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=262511&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=262511&amp;action=review</a>

<span class="quote">&gt; Source/WebCore/platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp:89
&gt; -        [protector] { protector-&gt;notifyTrackOfSample(); });
&gt; +        static_cast&lt;std::function&lt;void()&gt;&gt;(
&gt; +            [protector] {
&gt; +                protector-&gt;notifyTrackOfSample();
&gt; +            }));</span >

Just

    std::function&lt;void ()&gt;([protector] { ... })

should work, with no casts.</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>