leakRef() is used for the returned PassRefPtr without taking the ownership of the leaked ref.
Created attachment 190931 [details] Patch
Adding WebKit2 owners to CC.
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 190931 [details] Patch Yikes. Looks good to me.
Comment on attachment 190931 [details] Patch Ouch :) Funny leakRef() was even used in this context.
(In reply to comment #5) > (From update of attachment 190931 [details]) > Ouch :) > > Funny leakRef() was even used in this context. Yeah, an unfortunate copy paste from another place where it made sense. Thanks for the review!
Comment on attachment 190931 [details] Patch Clearing flags on attachment: 190931 Committed r145202: <http://trac.webkit.org/changeset/145202>
All reviewed patches have been landed. Closing bug.