зеркало из https://github.com/mozilla/pjs.git
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
This commit is contained in:
Родитель
963a794bbc
Коммит
a79e515f81
|
@ -41,8 +41,6 @@
|
|||
|
||||
nsRegionWin :: nsRegionWin()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mRegion = NULL;
|
||||
mRegionType = NULLREGION;
|
||||
mData = NULL;
|
||||
|
|
|
@ -182,8 +182,6 @@ static HPEN gStockWhitePen = (HPEN)::GetStockObject(WHITE_PEN);
|
|||
|
||||
nsRenderingContextWin :: nsRenderingContextWin()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// The first time in we initialize gIsWIN95 flag
|
||||
if (NOT_SETUP == gIsWIN95) {
|
||||
OSVERSIONINFO os;
|
||||
|
|
|
@ -81,8 +81,6 @@ nsScreenManagerWin :: nsScreenManagerWin ( )
|
|||
: mHasMultiMonitorAPIs(PR_FALSE), mGetMonitorInfoProc(nsnull), mMonitorFromRectProc(nsnull),
|
||||
mEnumDisplayMonitorsProc(nsnull), mNumberOfScreens(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// figure out if we can call the multiple monitor APIs that are only
|
||||
// available on Win98/2000.
|
||||
HMODULE lib = GetModuleHandle("user32.dll");
|
||||
|
|
|
@ -65,8 +65,6 @@ nsScreenWin :: nsScreenWin ( void* inScreen )
|
|||
: mScreen(inScreen), mHasMultiMonitorAPIs(PR_FALSE),
|
||||
mGetMonitorInfoProc(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
#ifdef DEBUG
|
||||
HDC hDCScreen = ::GetDC(nsnull);
|
||||
NS_ASSERTION(hDCScreen,"GetDC Failure");
|
||||
|
|
|
@ -129,8 +129,6 @@ NS_IMPL_ISUPPORTS1(nsFT2FontCatalog, nsIFontCatalogService)
|
|||
|
||||
nsFT2FontCatalog::nsFT2FontCatalog()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
#if (defined(MOZ_ENABLE_FREETYPE2))
|
||||
nsresult rv;
|
||||
mAvailableFontCatalogService = PR_FALSE;
|
||||
|
|
|
@ -47,7 +47,6 @@ NS_IMPL_ISUPPORTS1(nsDeviceContextSpecFactoryXlib, nsIDeviceContextSpecFactory)
|
|||
|
||||
nsDeviceContextSpecFactoryXlib::nsDeviceContextSpecFactoryXlib()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsDeviceContextSpecFactoryXlib::~nsDeviceContextSpecFactoryXlib()
|
||||
|
|
|
@ -216,7 +216,6 @@ int GlobalPrinters::mGlobalNumPrinters = 0;
|
|||
nsDeviceContextSpecXlib::nsDeviceContextSpecXlib()
|
||||
{
|
||||
DO_PR_DEBUG_LOG(("nsDeviceContextSpecXlib::nsDeviceContextSpecXlib()\n"));
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsDeviceContextSpecXlib::~nsDeviceContextSpecXlib()
|
||||
|
@ -546,7 +545,6 @@ nsresult CopyPrinterCharPref(nsIPref *pref, const char *modulename, const char *
|
|||
// Printer Enumerator
|
||||
nsPrinterEnumeratorXlib::nsPrinterEnumeratorXlib()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsPrinterEnumeratorXlib, nsIPrinterEnumerator)
|
||||
|
|
|
@ -70,7 +70,6 @@ nsDrawingSurfaceXlibImpl::nsDrawingSurfaceXlibImpl() :
|
|||
mHeight(0),
|
||||
mIsOffscreen(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
PR_LOG(DrawingSurfaceXlibLM, PR_LOG_DEBUG, ("nsDrawingSurfaceXlibImpl::nsDrawingSurfaceXlibImpl()\n"));
|
||||
|
||||
}
|
||||
|
|
|
@ -1453,7 +1453,6 @@ nsFontMetricsXlib::nsFontMetricsXlib()
|
|||
// XXX mFontIsGeneric will generally need to be the same size; right now
|
||||
// it's an nsAutoVoidArray. If the average is under 8, that's ok.
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
gFontMetricsXlibCount++;
|
||||
}
|
||||
|
||||
|
@ -5467,7 +5466,6 @@ nsFontMetricsXlib::FindFont(PRUnichar aChar)
|
|||
|
||||
nsFontEnumeratorXlib::nsFontEnumeratorXlib()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsFontEnumeratorXlib, nsIFontEnumerator)
|
||||
|
|
|
@ -68,7 +68,6 @@ Display *nsImageXlib::mDisplay = nsnull;
|
|||
nsImageXlib::nsImageXlib()
|
||||
{
|
||||
PR_LOG(ImageXlibLM, PR_LOG_DEBUG, ("nsImageXlib::nsImageXlib()\n"));
|
||||
NS_INIT_ISUPPORTS();
|
||||
mImageBits = nsnull;
|
||||
mAlphaBits = nsnull;
|
||||
mWidth = 0;
|
||||
|
|
|
@ -58,8 +58,6 @@ nsRegionXlib::nsRegionXlib()
|
|||
printf("REGIONS+ = %i\n", nRegions);
|
||||
#endif
|
||||
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mRegion = nsnull;
|
||||
}
|
||||
|
||||
|
|
|
@ -120,7 +120,6 @@ nsRenderingContextXlib::nsRenderingContextXlib() :
|
|||
mCurrentLineStyle(nsLineStyle_kSolid)
|
||||
{
|
||||
PR_LOG(RenderingContextXlibLM, PR_LOG_DEBUG, ("nsRenderingContextXlib::nsRenderingContextXlib()\n"));
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
PushState();
|
||||
}
|
||||
|
|
|
@ -44,8 +44,6 @@
|
|||
|
||||
nsScreenManagerXlib :: nsScreenManagerXlib ( )
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// nothing else to do. I guess we could cache a bunch of information
|
||||
// here, but we want to ask the device at runtime in case anything
|
||||
// has changed.
|
||||
|
|
|
@ -44,8 +44,6 @@
|
|||
|
||||
nsScreenXlib :: nsScreenXlib ( )
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// nothing else to do. I guess we could cache a bunch of information
|
||||
// here, but we want to ask the device at runtime in case anything
|
||||
// has changed.
|
||||
|
|
|
@ -111,7 +111,6 @@ nsXPrintContext::nsXPrintContext() :
|
|||
mPrintResolution(0L),
|
||||
mContext(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
PR_LOG(nsXPrintContextLM, PR_LOG_DEBUG, ("nsXPrintContext::nsXPrintContext()\n"));
|
||||
}
|
||||
|
||||
|
|
|
@ -62,7 +62,6 @@ static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
|||
class RobotSinkObserver : public nsIRobotSinkObserver {
|
||||
public:
|
||||
RobotSinkObserver() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
virtual ~RobotSinkObserver() {
|
||||
|
@ -148,8 +147,6 @@ class CStreamListener: public nsIWebProgressListener,
|
|||
{
|
||||
public:
|
||||
CStreamListener() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
}
|
||||
|
||||
virtual ~CStreamListener() {
|
||||
|
|
|
@ -190,8 +190,6 @@ CNavDTD::CNavDTD() : nsIDTD(),
|
|||
mExpectedCRC32(0)
|
||||
#endif
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mBodyContext=new nsDTDContext();
|
||||
|
||||
#ifdef RICKG_DEBUG
|
||||
|
|
|
@ -146,7 +146,6 @@ NS_IMPL_RELEASE(COtherDTD)
|
|||
* @return
|
||||
*/
|
||||
COtherDTD::COtherDTD() : nsIDTD() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
mSink = 0;
|
||||
mParser=0;
|
||||
mLineNumber=1;
|
||||
|
|
|
@ -1577,7 +1577,6 @@ NS_IMPL_ISUPPORTS1(nsObserverEntry, nsIObserverEntry)
|
|||
|
||||
nsObserverEntry::nsObserverEntry(const nsAString& aTopic) : mTopic(aTopic)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
memset(mObservers, 0, sizeof(mObservers));
|
||||
}
|
||||
|
||||
|
|
|
@ -309,7 +309,6 @@ nsExpatDriver::nsExpatDriver()
|
|||
mSink(0),
|
||||
mCatalogData(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsExpatDriver::~nsExpatDriver()
|
||||
|
|
|
@ -135,7 +135,6 @@ NS_NewHTMLNullSink(nsIContentSink** aInstancePtrResult)
|
|||
* @return
|
||||
*/
|
||||
nsHTMLNullSink::nsHTMLNullSink() : nsIHTMLContentSink() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
mNodeStackPos=0;
|
||||
memset(mNodeStack,0,sizeof(mNodeStack));
|
||||
}
|
||||
|
|
|
@ -135,8 +135,6 @@ NS_IMPL_RELEASE(nsHTMLTokenizer)
|
|||
eParserCommands aCommand) :
|
||||
nsITokenizer(), mTokenDeque(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
if (aParseMode==eDTDMode_full_standards ||
|
||||
aParseMode==eDTDMode_almost_standards) {
|
||||
mFlags = NS_IPARSER_FLAG_STRICT_MODE;
|
||||
|
|
|
@ -74,7 +74,6 @@ NS_NewHTMLLoggingSink(nsIContentSink** aInstancePtrResult)
|
|||
}
|
||||
|
||||
nsLoggingSink::nsLoggingSink() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
mOutput = 0;
|
||||
mLevel=-1;
|
||||
mSink=0;
|
||||
|
|
|
@ -300,8 +300,6 @@ static PRBool gDumpContent=PR_FALSE;
|
|||
* @return
|
||||
*/
|
||||
nsParser::nsParser(nsITokenObserver* anObserver) {
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
if(!gDumpContent) {
|
||||
gDumpContent=(PR_GetEnv("PARSER_DUMP_CONTENT"))? PR_TRUE:PR_FALSE;
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
nsParserService::nsParserService() : mEntries(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mHaveNotifiedCategoryObservers = PR_FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -328,8 +328,6 @@ static const char* const kDumpFileAfterText[] = {
|
|||
* @return
|
||||
*/
|
||||
CViewSourceHTML::CViewSourceHTML() : mFilename(), mTags(), mErrors() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mStartTag = VIEW_SOURCE_START_TAG;
|
||||
mEndTag = VIEW_SOURCE_END_TAG;
|
||||
mCommentTag = VIEW_SOURCE_COMMENT;
|
||||
|
|
|
@ -87,7 +87,6 @@ protected:
|
|||
|
||||
StreamToFile::StreamToFile(FILE* fp)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mDone = PR_FALSE;
|
||||
mError = PR_FALSE;
|
||||
mFile = fp;
|
||||
|
|
|
@ -218,7 +218,6 @@ NS_IMPL_ISUPPORTS1(nsClassicDetector, nsICharsetDetector)
|
|||
//----------------------------------------------------------
|
||||
nsClassicDetector::nsClassicDetector(const char* language)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mObserver = nsnull;
|
||||
PL_strcpy(mLanguage, language);
|
||||
}
|
||||
|
@ -273,7 +272,6 @@ NS_IMPL_ISUPPORTS1(nsClassicStringDetector, nsIStringCharsetDetector)
|
|||
//----------------------------------------------------------
|
||||
nsClassicStringDetector::nsClassicStringDetector(const char* language)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
PL_strcpy(mLanguage, language);
|
||||
}
|
||||
//----------------------------------------------------------
|
||||
|
|
|
@ -109,7 +109,6 @@ nsCyrXPCOMDetector:: nsCyrXPCOMDetector(PRUint8 aItems,
|
|||
const char **aCharsets)
|
||||
: nsCyrillicDetector(aItems, aCyrillicClass, aCharsets)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mObserver = nsnull;
|
||||
}
|
||||
|
||||
|
@ -165,7 +164,6 @@ nsCyrXPCOMStringDetector:: nsCyrXPCOMStringDetector(PRUint8 aItems,
|
|||
const char **aCharsets)
|
||||
: nsCyrillicDetector(aItems, aCyrillicClass, aCharsets)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
|
|
|
@ -52,7 +52,6 @@ nsDebugDetector::nsDebugDetector( nsDebugDetectorSel aSel)
|
|||
mBlks = 0;
|
||||
mObserver = nsnull;
|
||||
mStop = PR_FALSE;
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
//--------------------------------------------------------------------
|
||||
nsDebugDetector::~nsDebugDetector()
|
||||
|
|
|
@ -113,7 +113,6 @@ NS_IMPL_ISUPPORTS1 ( nsMyObserver ,nsICharsetDetectionObserver);
|
|||
//--------------------------------------------------------------
|
||||
nsDetectionAdaptor::nsDetectionAdaptor( void )
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mDontFeedToDetector = PR_TRUE;
|
||||
}
|
||||
//--------------------------------------------------------------
|
||||
|
|
|
@ -56,7 +56,6 @@ class nsMyObserver : public nsICharsetDetectionObserver
|
|||
public:
|
||||
nsMyObserver( void )
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mWebShellSvc = nsnull;
|
||||
mNotifyByReload = PR_FALSE;
|
||||
mWeakRefDocument = nsnull;
|
||||
|
|
|
@ -51,7 +51,6 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsDocumentCharsetInfo, nsIDocumentCharsetInfo);
|
|||
|
||||
nsDocumentCharsetInfo::nsDocumentCharsetInfo()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mParentCharsetSource = 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -67,7 +67,6 @@ static eHTMLTags gWatchTags[] =
|
|||
//-------------------------------------------------------------------------
|
||||
nsMetaCharsetObserver::nsMetaCharsetObserver()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
bMetaCharsetObserverStarted = PR_FALSE;
|
||||
nsresult res;
|
||||
mAlias = nsnull;
|
||||
|
|
|
@ -491,7 +491,6 @@ void nsPSMDetector::Sample(const char* aBuf, PRUint32 aLen, PRBool aLastChance)
|
|||
nsXPCOMDetector::nsXPCOMDetector(PRUint8 aItems, nsVerifier **aVer, nsEUCStatistics** aStatisticsSet)
|
||||
: nsPSMDetector( aItems, aVer, aStatisticsSet)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mObserver = nsnull;
|
||||
}
|
||||
//----------------------------------------------------------
|
||||
|
@ -538,7 +537,6 @@ void nsXPCOMDetector::Report(const char* charset)
|
|||
nsXPCOMStringDetector::nsXPCOMStringDetector(PRUint8 aItems, nsVerifier** aVer, nsEUCStatistics** aStatisticsSet)
|
||||
: nsPSMDetector( aItems, aVer, aStatisticsSet)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
//----------------------------------------------------------
|
||||
nsXPCOMStringDetector::~nsXPCOMStringDetector()
|
||||
|
|
|
@ -63,7 +63,6 @@ static eHTMLTags gTags[] =
|
|||
//-------------------------------------------------------------------------
|
||||
nsXMLEncodingObserver::nsXMLEncodingObserver()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
bXMLEncodingObserverStarted = PR_FALSE;
|
||||
}
|
||||
//-------------------------------------------------------------------------
|
||||
|
|
|
@ -129,7 +129,6 @@ NS_IMPL_ISUPPORTS1(nsNativeDetector, nsICharsetDetector)
|
|||
nsNativeDetector::nsNativeDetector(PRUint32 aCodePage)
|
||||
{
|
||||
HRESULT hr = CoInitialize(NULL);
|
||||
NS_INIT_ISUPPORTS();
|
||||
mObserver = nsnull;
|
||||
mCodePage = aCodePage;
|
||||
mMultiLanguage = NULL;
|
||||
|
@ -220,7 +219,6 @@ NS_IMPL_ISUPPORTS1(nsNativeStringDetector, nsIStringCharsetDetector)
|
|||
nsNativeStringDetector::nsNativeStringDetector(PRUint32 aCodePage)
|
||||
{
|
||||
HRESULT hr = CoInitialize(NULL);
|
||||
NS_INIT_ISUPPORTS();
|
||||
mCodePage = aCodePage;
|
||||
mMultiLanguage = NULL;
|
||||
}
|
||||
|
@ -275,7 +273,6 @@ class nsNativeDetectorFactory : public nsIFactory {
|
|||
|
||||
public:
|
||||
nsNativeDetectorFactory(PRUint32 aCodePage, PRBool stringBase) {
|
||||
NS_INIT_ISUPPORTS();
|
||||
mCodePage = aCodePage;
|
||||
mStringBase = stringBase;
|
||||
}
|
||||
|
|
|
@ -266,7 +266,7 @@ class nsReporter : public nsICharsetDetectionObserver
|
|||
{
|
||||
NS_DECL_ISUPPORTS
|
||||
public:
|
||||
nsReporter() { NS_INIT_ISUPPORTS(); };
|
||||
nsReporter() { };
|
||||
virtual ~nsReporter() { };
|
||||
|
||||
NS_IMETHOD Notify(const char* aCharset, nsDetectionConfident aConf)
|
||||
|
|
|
@ -64,7 +64,7 @@ class nsI18nCompatibility : public nsII18nCompatibility {
|
|||
/* wstring CSIDtoCharsetName (in unsigned short csid); */
|
||||
NS_IMETHOD CSIDtoCharsetName(PRUint16 csid, PRUnichar **_retval);
|
||||
|
||||
nsI18nCompatibility() {NS_INIT_ISUPPORTS();}
|
||||
nsI18nCompatibility() {}
|
||||
virtual ~nsI18nCompatibility() {}
|
||||
};
|
||||
|
||||
|
|
|
@ -52,7 +52,6 @@
|
|||
* Start of nsULE Public Functions
|
||||
*/
|
||||
nsULE::nsULE() {
|
||||
NS_INIT_ISUPPORTS(); // For Reference Counting
|
||||
}
|
||||
|
||||
nsULE::~nsULE() {
|
||||
|
|
|
@ -62,7 +62,6 @@ static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
|||
class RobotSinkObserver : public nsIRobotSinkObserver {
|
||||
public:
|
||||
RobotSinkObserver() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
virtual ~RobotSinkObserver() {
|
||||
|
@ -148,8 +147,6 @@ class CStreamListener: public nsIWebProgressListener,
|
|||
{
|
||||
public:
|
||||
CStreamListener() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
}
|
||||
|
||||
virtual ~CStreamListener() {
|
||||
|
|
|
@ -190,8 +190,6 @@ CNavDTD::CNavDTD() : nsIDTD(),
|
|||
mExpectedCRC32(0)
|
||||
#endif
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mBodyContext=new nsDTDContext();
|
||||
|
||||
#ifdef RICKG_DEBUG
|
||||
|
|
|
@ -146,7 +146,6 @@ NS_IMPL_RELEASE(COtherDTD)
|
|||
* @return
|
||||
*/
|
||||
COtherDTD::COtherDTD() : nsIDTD() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
mSink = 0;
|
||||
mParser=0;
|
||||
mLineNumber=1;
|
||||
|
|
|
@ -1577,7 +1577,6 @@ NS_IMPL_ISUPPORTS1(nsObserverEntry, nsIObserverEntry)
|
|||
|
||||
nsObserverEntry::nsObserverEntry(const nsAString& aTopic) : mTopic(aTopic)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
memset(mObservers, 0, sizeof(mObservers));
|
||||
}
|
||||
|
||||
|
|
|
@ -309,7 +309,6 @@ nsExpatDriver::nsExpatDriver()
|
|||
mSink(0),
|
||||
mCatalogData(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsExpatDriver::~nsExpatDriver()
|
||||
|
|
|
@ -135,7 +135,6 @@ NS_NewHTMLNullSink(nsIContentSink** aInstancePtrResult)
|
|||
* @return
|
||||
*/
|
||||
nsHTMLNullSink::nsHTMLNullSink() : nsIHTMLContentSink() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
mNodeStackPos=0;
|
||||
memset(mNodeStack,0,sizeof(mNodeStack));
|
||||
}
|
||||
|
|
|
@ -135,8 +135,6 @@ NS_IMPL_RELEASE(nsHTMLTokenizer)
|
|||
eParserCommands aCommand) :
|
||||
nsITokenizer(), mTokenDeque(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
if (aParseMode==eDTDMode_full_standards ||
|
||||
aParseMode==eDTDMode_almost_standards) {
|
||||
mFlags = NS_IPARSER_FLAG_STRICT_MODE;
|
||||
|
|
|
@ -74,7 +74,6 @@ NS_NewHTMLLoggingSink(nsIContentSink** aInstancePtrResult)
|
|||
}
|
||||
|
||||
nsLoggingSink::nsLoggingSink() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
mOutput = 0;
|
||||
mLevel=-1;
|
||||
mSink=0;
|
||||
|
|
|
@ -300,8 +300,6 @@ static PRBool gDumpContent=PR_FALSE;
|
|||
* @return
|
||||
*/
|
||||
nsParser::nsParser(nsITokenObserver* anObserver) {
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
if(!gDumpContent) {
|
||||
gDumpContent=(PR_GetEnv("PARSER_DUMP_CONTENT"))? PR_TRUE:PR_FALSE;
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
nsParserService::nsParserService() : mEntries(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mHaveNotifiedCategoryObservers = PR_FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -328,8 +328,6 @@ static const char* const kDumpFileAfterText[] = {
|
|||
* @return
|
||||
*/
|
||||
CViewSourceHTML::CViewSourceHTML() : mFilename(), mTags(), mErrors() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mStartTag = VIEW_SOURCE_START_TAG;
|
||||
mEndTag = VIEW_SOURCE_END_TAG;
|
||||
mCommentTag = VIEW_SOURCE_COMMENT;
|
||||
|
|
|
@ -87,7 +87,6 @@ protected:
|
|||
|
||||
StreamToFile::StreamToFile(FILE* fp)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mDone = PR_FALSE;
|
||||
mError = PR_FALSE;
|
||||
mFile = fp;
|
||||
|
|
Загрузка…
Ссылка в новой задаче