diff --git a/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp b/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp index 5c0aa3c57b9..7ea439ec14d 100644 --- a/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp +++ b/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp @@ -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 diff --git a/mozilla/uriloader/exthandler/nsExternalProtocolHandler.cpp b/mozilla/uriloader/exthandler/nsExternalProtocolHandler.cpp index f1e12ca9762..d479f31c294 100644 --- a/mozilla/uriloader/exthandler/nsExternalProtocolHandler.cpp +++ b/mozilla/uriloader/exthandler/nsExternalProtocolHandler.cpp @@ -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.