зеркало из https://github.com/mozilla/pjs.git
Bug 388909 - fix build breakage from 384374 for MOZ_RDF-disabled builds
p=romaxa <romaxa@gmail.com> r+sr=biesi
This commit is contained in:
Родитель
a8cd848c90
Коммит
a474c48759
|
@ -1000,12 +1000,12 @@ nsresult nsExternalHelperAppService::FillProtoInfoForSchemeFromDS(
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifdef MOZ_RDF
|
||||
nsresult nsExternalHelperAppService::FillHandlerInfoForTypeFromDS(
|
||||
nsIRDFResource *aTypeNodeResource, const nsCAutoString &aType,
|
||||
nsIRDFService *rdf, const char *aTypeNodePrefix,
|
||||
nsIHandlerInfo * aHandlerInfo)
|
||||
{
|
||||
#ifdef MOZ_RDF
|
||||
|
||||
// we need a way to determine if this type resource is really in the graph
|
||||
// or not... Test that there's a #value arc from the type resource to the
|
||||
|
@ -1040,10 +1040,8 @@ nsresult nsExternalHelperAppService::FillHandlerInfoForTypeFromDS(
|
|||
}
|
||||
|
||||
return rv;
|
||||
#else
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
#endif /* MOZ_RDF */
|
||||
}
|
||||
#endif /* MOZ_RDF */
|
||||
|
||||
nsresult nsExternalHelperAppService::FillMIMEInfoForExtensionFromDS(
|
||||
const nsACString& aFileExtension, nsIMIMEInfo * aMIMEInfo)
|
||||
|
|
|
@ -140,6 +140,7 @@ public:
|
|||
NS_HIDDEN_(nsresult) FillProtoInfoForSchemeFromDS(
|
||||
const nsACString& aScheme, nsIHandlerInfo * aMIMEInfo);
|
||||
|
||||
#ifdef MOZ_RDF
|
||||
/**
|
||||
* Fill in the generic handler info stuff; called by Fill*InfoFor*FromDS.
|
||||
*
|
||||
|
@ -154,6 +155,7 @@ public:
|
|||
nsIRDFResource *aTypeNodeResource, const nsCAutoString& aType,
|
||||
nsIRDFService *aRDFService, const char *aTypeNodePrefix,
|
||||
nsIHandlerInfo * aHandlerInfo);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Given an extension, look up the user override information to see if we
|
||||
|
|
Загрузка…
Ссылка в новой задаче