зеркало из https://github.com/mozilla/pjs.git
tried again to fix linux build
This commit is contained in:
Родитель
c6308d8466
Коммит
74730be89d
|
@ -1317,16 +1317,6 @@ PRInt32 CStyleToken::GetTokenType(void) {
|
|||
return eToken_style;
|
||||
}
|
||||
|
||||
/*
|
||||
* default constructor
|
||||
*
|
||||
* @update gess 3/25/98
|
||||
* @param aName -- string to init token name with
|
||||
* @return
|
||||
*/
|
||||
CSkippedContentToken::CSkippedContentToken() : CAttributeToken() {
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* string based constructor
|
||||
|
|
|
@ -295,7 +295,6 @@ class CStyleToken: public CHTMLToken {
|
|||
*/
|
||||
class CSkippedContentToken: public CAttributeToken {
|
||||
public:
|
||||
CSkippedContentToken();
|
||||
CSkippedContentToken(const nsString& aString);
|
||||
virtual nsresult Consume(PRUnichar aChar,CScanner& aScanner);
|
||||
virtual const char* GetClassName(void);
|
||||
|
|
|
@ -743,7 +743,7 @@ nsresult nsParser::OnDataAvailable(nsIURL* aURL, nsIInputStream *pIStream, PRInt
|
|||
|
||||
if(eUnknownDetect==mParserContext->mAutoDetectStatus) {
|
||||
if(eValidDetect==AutoDetectContentType(mParserContext->mScanner->GetBuffer(),mParserContext->mSourceType)) {
|
||||
nsresult result=WillBuildModel(mParserContext->mScanner->GetFilename());
|
||||
WillBuildModel(mParserContext->mScanner->GetFilename());
|
||||
} //if
|
||||
}
|
||||
} //if
|
||||
|
|
|
@ -1317,16 +1317,6 @@ PRInt32 CStyleToken::GetTokenType(void) {
|
|||
return eToken_style;
|
||||
}
|
||||
|
||||
/*
|
||||
* default constructor
|
||||
*
|
||||
* @update gess 3/25/98
|
||||
* @param aName -- string to init token name with
|
||||
* @return
|
||||
*/
|
||||
CSkippedContentToken::CSkippedContentToken() : CAttributeToken() {
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* string based constructor
|
||||
|
|
|
@ -295,7 +295,6 @@ class CStyleToken: public CHTMLToken {
|
|||
*/
|
||||
class CSkippedContentToken: public CAttributeToken {
|
||||
public:
|
||||
CSkippedContentToken();
|
||||
CSkippedContentToken(const nsString& aString);
|
||||
virtual nsresult Consume(PRUnichar aChar,CScanner& aScanner);
|
||||
virtual const char* GetClassName(void);
|
||||
|
|
|
@ -743,7 +743,7 @@ nsresult nsParser::OnDataAvailable(nsIURL* aURL, nsIInputStream *pIStream, PRInt
|
|||
|
||||
if(eUnknownDetect==mParserContext->mAutoDetectStatus) {
|
||||
if(eValidDetect==AutoDetectContentType(mParserContext->mScanner->GetBuffer(),mParserContext->mSourceType)) {
|
||||
nsresult result=WillBuildModel(mParserContext->mScanner->GetFilename());
|
||||
WillBuildModel(mParserContext->mScanner->GetFilename());
|
||||
} //if
|
||||
}
|
||||
} //if
|
||||
|
|
Загрузка…
Ссылка в новой задаче