[Webkit-unassigned] [Bug 137812] [GTK] Add initial gestures support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 17 10:39:13 PDT 2014


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

--- Comment #7 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #6)
> > > Source/WebKit2/UIProcess/gtk/GestureController.cpp:44
> > > +    return std::unique_ptr<GestureController>(new GestureController(page));
> > 
> > I think the preferred form is std::make_unique<GestureController>(page);
> 
> It doesn't build.

I remember why now, because it requires the constructor to be public. It was private to make sure the class can only be created using create, but I'll make it public anyway to use make_unique

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141017/caf6e988/attachment-0002.html>


More information about the webkit-unassigned mailing list