[Webkit-unassigned] [Bug 159144] Too much duplicated code in LayerTreeHosts implementations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 29 05:12:22 PDT 2016


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

--- Comment #9 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #8)
> Comment on attachment 282123 [details]
> Try to fix EFL build
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=282123&action=review
> 
> >>>> Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.h:65
> >>>> +    class CompositorClient final : public ThreadedCompositor::Client {
> >>> 
> >>> What about to add WTF_MAKE_NONCOPYABLE to make sure?
> >> 
> >> It's private and stack allocated only, LayerTreeHost is already non copyable, so I don't see how it can be copied.
> > 
> > It's not stack-allocated, it's allocated on the heap by being located inside the ThreadedCoordinatedLayerTreeHost.
> > 
> > It can be copied, ThreadedCompositor::Client is copyable and the LayerTreeHost reference doesn't prevent it either.
> 
> r=me with WTF_MAKE_NONCOPYABLE.

Ok, thanks!

-- 
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/20160629/bf1c6f9d/attachment.html>


More information about the webkit-unassigned mailing list