69455 - enable noframes content when frames are disabled

r=heikki,sr=waterson,a=choffmann


git-svn-id: svn://10.0.0.236/trunk@92885 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
harishd%netscape.com
2001-04-21 22:22:15 +00:00
parent 9f42c732d7
commit d2199013d8
40 changed files with 601 additions and 581 deletions

View File

@@ -97,7 +97,12 @@ public:
class CSharedParserObjects {
public:
CSharedParserObjects() : mDTDDeque(0) {
CSharedParserObjects()
:mDTDDeque(0),
mHasViewSourceDTD(PR_FALSE),
mHasXMLDTD(PR_FALSE),
mOtherDTD(nsnull)
{
//Note: To cut down on startup time/overhead, we defer the construction of non-html DTD's.
@@ -111,6 +116,10 @@ public:
}
NS_NewNavHTMLDTD(&theDTD); //do this as a default HTML DTD...
// please handle allocation failure
NS_ASSERTION(theDTD, "Failed to create DTD");
mDTDDeque.Push(theDTD);
mHasViewSourceDTD=PR_FALSE;