зеркало из https://github.com/mozilla/gecko-dev.git
Bug 385065 - protocol handling dialog. r=cbiesinger (forgot to fix two nits)
This commit is contained in:
Родитель
46b4b15fbf
Коммит
d09c917fe3
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче