mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-13 15:34:01 +00:00
Correct string usage in XSLT hooks. Not part of default build (ifdef'ed). r=nisheeth.
This commit is contained in:
parent
d92a2df1aa
commit
dba350450c
@ -978,7 +978,7 @@ static void SplitMimeType(const nsString& aValue, nsString& aType, nsString& aPa
|
||||
#ifdef MOZ_XSL
|
||||
nsresult
|
||||
nsXMLContentSink::CreateStyleSheetURL(nsIURI** aUrl,
|
||||
const nsAutoString& aHref)
|
||||
const nsAReadableString& aHref)
|
||||
{
|
||||
nsresult result = NS_OK;
|
||||
result = NS_NewURI(aUrl, aHref, mDocumentBaseURL);
|
||||
|
@ -149,7 +149,7 @@ protected:
|
||||
const nsString& aHref, PRBool aAlternate,
|
||||
const nsString& aTitle, const nsString& aType,
|
||||
const nsString& aMedia);
|
||||
nsresult CreateStyleSheetURL(nsIURI** aUrl, const nsAutoString& aHref);
|
||||
nsresult CreateStyleSheetURL(nsIURI** aUrl, const nsAReadableString& aHref);
|
||||
nsresult LoadXSLStyleSheet(nsIURI* aUrl, const nsString& aType);
|
||||
nsresult SetupTransformMediator();
|
||||
#endif
|
||||
|
@ -978,7 +978,7 @@ static void SplitMimeType(const nsString& aValue, nsString& aType, nsString& aPa
|
||||
#ifdef MOZ_XSL
|
||||
nsresult
|
||||
nsXMLContentSink::CreateStyleSheetURL(nsIURI** aUrl,
|
||||
const nsAutoString& aHref)
|
||||
const nsAReadableString& aHref)
|
||||
{
|
||||
nsresult result = NS_OK;
|
||||
result = NS_NewURI(aUrl, aHref, mDocumentBaseURL);
|
||||
|
@ -149,7 +149,7 @@ protected:
|
||||
const nsString& aHref, PRBool aAlternate,
|
||||
const nsString& aTitle, const nsString& aType,
|
||||
const nsString& aMedia);
|
||||
nsresult CreateStyleSheetURL(nsIURI** aUrl, const nsAutoString& aHref);
|
||||
nsresult CreateStyleSheetURL(nsIURI** aUrl, const nsAReadableString& aHref);
|
||||
nsresult LoadXSLStyleSheet(nsIURI* aUrl, const nsString& aType);
|
||||
nsresult SetupTransformMediator();
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user