<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#c4">Comment # 4</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:peavo@outlook.com" title="peavo@outlook.com">peavo@outlook.com</a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=149839#c2">comment #2</a>)
<span class="quote">> Comment on <span class="bz_obsolete"><a href="attachment.cgi?id=262511&action=diff" name="attach_262511" title="Patch">attachment 262511</a> <a href="attachment.cgi?id=262511&action=edit" title="Patch">[details]</a></span>
> Patch
>
> View in context:
> <a href="https://bugs.webkit.org/attachment.cgi?id=262511&action=review">https://bugs.webkit.org/attachment.cgi?id=262511&action=review</a>
>
> > Source/WebCore/platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp:89
> > - [protector] { protector->notifyTrackOfSample(); });
> > + static_cast<std::function<void()>>(
> > + [protector] {
> > + protector->notifyTrackOfSample();
> > + }));
>
> Just
>
> std::function<void ()>([protector] { ... })
>
> should work, with no casts.</span >
Thanks, that's much better than my 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>