Code is simpler and we avoid all the toImpl/toAPI.
Created attachment 291803 [details] Patch
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment on attachment 291803 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=291803&action=review > Source/WebKit2/UIProcess/API/gtk/WebKitDownloadClient.cpp:107 > + auto* processPool = webkitWebContextGetProcessPool(webContext); You don't have to fix it now, but eventually this function ought to return a reference.
Committed r207404: <http://trac.webkit.org/changeset/207404>