Both methods are the same, but FileSystem::filenameToString() is only defined by GTK and used everywhere. We should use the other one instead and remove FileSystem::filenameToString().
Created attachment 293652 [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 293652 [details] Patch I guess this is fine. I suspect the purpose of using the different name was to indicate that GLib doesn't support filenames with embedded NUL characters, but whatever.
Committed r208278: <http://trac.webkit.org/changeset/208278>