Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap

This commit is contained in:
Ben Newman
2009-06-23 14:22:16 -07:00
parent 06b02c784a
commit cdf9308eef
28 changed files with 88 additions and 100 deletions

View File

@@ -89,7 +89,7 @@ nsSAXXMLReader::nsSAXXMLReader() : mIsAsyncParse(PR_FALSE)
// nsIContentSink
NS_IMETHODIMP
nsSAXXMLReader::WillBuildModel()
nsSAXXMLReader::WillBuildModel(nsDTDMode)
{
if (mContentHandler)
return mContentHandler->StartDocument();