Comment on attachment 525655
Use GIO for finding the default handler (v2)
>+ if (NS_FAILED(giovfs->GetAppForURIScheme(nsDependentCString(aProtocolScheme),
>+ getter_AddRefs(app))))
"getter_AddRefs(app)" is not a parameter to NS_FAILED() but to GetAppForURIScheme() so it should be aligned with "nsDependentCString(aProtocolScheme)".
Comment on attachment 525655
Use GIO for finding the default handler (v2)
>+ if (NS_FAILED( giovfs- >GetAppForURISc heme(nsDependen tCString( aProtocolScheme ), AddRefs( app))))
>+ getter_
"getter_ AddRefs( app)" is not a parameter to NS_FAILED() but to GetAppForURISch eme() so it should be aligned with "nsDependentCSt ring(aProtocolS cheme)" .