mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-03 04:52:54 +00:00
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:
parent
8130b732fa
commit
6d530e40a5
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user