Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones

This commit is contained in:
Michael Wu
2011-09-28 23:19:26 -07:00
parent d91d87f072
commit 0fe7772ece
3264 changed files with 30122 additions and 30123 deletions

View File

@@ -98,7 +98,7 @@ nsSAXXMLReader::WillBuildModel(nsDTDMode)
}
NS_IMETHODIMP
nsSAXXMLReader::DidBuildModel(PRBool aTerminated)
nsSAXXMLReader::DidBuildModel(bool aTerminated)
{
if (mContentHandler)
return mContentHandler->EndDocument();
@@ -335,7 +335,7 @@ NS_IMETHODIMP
nsSAXXMLReader::ReportError(const PRUnichar* aErrorText,
const PRUnichar* aSourceText,
nsIScriptError *aError,
PRBool *_retval)
bool *_retval)
{
NS_PRECONDITION(aError && aSourceText && aErrorText, "Check arguments!!!");
// Normally, the expat driver should report the error.
@@ -426,13 +426,13 @@ nsSAXXMLReader::SetErrorHandler(nsISAXErrorHandler *aErrorHandler)
}
NS_IMETHODIMP
nsSAXXMLReader::SetFeature(const nsAString &aName, PRBool aValue)
nsSAXXMLReader::SetFeature(const nsAString &aName, bool aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsSAXXMLReader::GetFeature(const nsAString &aName, PRBool *aResult)
nsSAXXMLReader::GetFeature(const nsAString &aName, bool *aResult)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -458,7 +458,7 @@ nsSAXXMLReader::SetProperty(const nsAString &aName, nsISupports* aValue)
}
NS_IMETHODIMP
nsSAXXMLReader::GetProperty(const nsAString &aName, PRBool *aResult)
nsSAXXMLReader::GetProperty(const nsAString &aName, bool *aResult)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -636,7 +636,7 @@ nsSAXXMLReader::InitParser(nsIRequestObserver *aObserver, nsIChannel *aChannel)
}
// from nsDocument.cpp
PRBool
bool
nsSAXXMLReader::TryChannelCharset(nsIChannel *aChannel,
PRInt32& aCharsetSource,
nsACString& aCharset)