SUNWspro4.2 bustage: move CElement::GetElement() definition

before its use so the compiler doesn't choke trying to inline it.
Bug 39294. r=bruce
This commit is contained in:
tor%cs.brown.edu 2000-05-15 19:03:25 +00:00
parent 8130b732fa
commit 6d530e40a5
2 changed files with 12 additions and 10 deletions

View File

@ -1917,6 +1917,12 @@ static eHTMLTags kFramesetKids[]={eHTMLTag_noframes,eHTMLTag_unknown};
static eHTMLTags kObjectKids[]={eHTMLTag_param,eHTMLTag_unknown};
static eHTMLTags kTBodyKids[]={eHTMLTag_tr,eHTMLTag_unknown};
inline CElement* CElement::GetElement(eHTMLTags aTag) {
return gElementTable->mElements[aTag];
}
/***********************************************************************************
This method is pretty interesting, because it's where the elements all get
initialized for this elementtable.
@ -2551,11 +2557,6 @@ inline CElement* CElement::GetDelegate(void) {
return 0;
}
inline CElement* CElement::GetElement(eHTMLTags aTag) {
return gElementTable->mElements[aTag];
}
inline CElement* CElement::GetDefaultContainerFor(CElement* anElement) {
CElement* result=0;

View File

@ -1917,6 +1917,12 @@ static eHTMLTags kFramesetKids[]={eHTMLTag_noframes,eHTMLTag_unknown};
static eHTMLTags kObjectKids[]={eHTMLTag_param,eHTMLTag_unknown};
static eHTMLTags kTBodyKids[]={eHTMLTag_tr,eHTMLTag_unknown};
inline CElement* CElement::GetElement(eHTMLTags aTag) {
return gElementTable->mElements[aTag];
}
/***********************************************************************************
This method is pretty interesting, because it's where the elements all get
initialized for this elementtable.
@ -2551,11 +2557,6 @@ inline CElement* CElement::GetDelegate(void) {
return 0;
}
inline CElement* CElement::GetElement(eHTMLTags aTag) {
return gElementTable->mElements[aTag];
}
inline CElement* CElement::GetDefaultContainerFor(CElement* anElement) {
CElement* result=0;