[Webkit-unassigned] [Bug 149839] [WinCairo] GStreamer compile errors.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 6 10:49:42 PDT 2015


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

--- Comment #4 from peavo at outlook.com ---
(In reply to comment #2)
> Comment on attachment 262511 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=262511&action=review
> 
> > 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.

Thanks, that's much better than my casts :)

-- 
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/20151006/d7254f11/attachment.html>


More information about the webkit-unassigned mailing list