It's deprecated in GLib now because of the possibility of overflow when converting from size_t to unsigned int.
Created attachment 423192 [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 https://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Committed r274479 (235335@main): <https://commits.webkit.org/235335@main>