зеркало из https://github.com/mozilla/pjs.git
Bug 385065 - protocol handling dialog. r=cbiesinger (forgot to fix two nits)
This commit is contained in:
Родитель
75805da55c
Коммит
72e6e460c8
|
@ -1206,7 +1206,7 @@ nsExternalHelperAppService::LoadURI(nsIURI *aURI,
|
|||
NS_ENSURE_ARG_POINTER(aURI);
|
||||
|
||||
nsCAutoString scheme;
|
||||
(void)aURI->GetScheme(scheme);
|
||||
aURI->GetScheme(scheme);
|
||||
if (scheme.IsEmpty())
|
||||
return NS_OK; // must have a scheme
|
||||
|
||||
|
|
|
@ -188,7 +188,7 @@ nsresult nsExtProtocolChannel::OpenURL()
|
|||
NS_ASSERTION(haveHandler, "Why do we have a channel for this url if we don't support the protocol?");
|
||||
#endif
|
||||
|
||||
rv = extProtService->LoadURI(mUrl, nsnull);
|
||||
rv = extProtService->LoadURI(mUrl, mCallbacks);
|
||||
}
|
||||
|
||||
// Drop notification callbacks to prevent cycles.
|
||||
|
|
Загрузка…
Ссылка в новой задаче