mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-30 10:12:59 +00:00
Un-inlined CTagList::Contains() to fix Mac & Linux bustage.
This commit is contained in:
parent
558d6dee40
commit
5e7503dab7
@ -32,7 +32,7 @@
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
inline PRBool CTagList::Contains(eHTMLTags aTag){
|
||||
PRBool CTagList::Contains(eHTMLTags aTag){
|
||||
PRBool result=PR_FALSE;
|
||||
if(mTagList) {
|
||||
result=FindTagInSet(aTag,mTagList,mCount);
|
||||
|
@ -48,7 +48,7 @@ public:
|
||||
|
||||
PRInt32 GetTopmostIndexOf(nsTagStack& aTagStack);
|
||||
PRInt32 GetBottommostIndexOf(nsTagStack& aTagStack,PRInt32 aStartOffset);
|
||||
inline PRBool Contains(eHTMLTags aTag);
|
||||
PRBool Contains(eHTMLTags aTag);
|
||||
|
||||
eHTMLTags mTags[5];
|
||||
eHTMLTags* mTagList;
|
||||
@ -128,4 +128,4 @@ static const int kDiscardTag = 0x0001; //tells us to toss this tag
|
||||
static const int kOmitEndTag = 0x0002; //safely ignore end tag
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
@ -32,7 +32,7 @@
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
inline PRBool CTagList::Contains(eHTMLTags aTag){
|
||||
PRBool CTagList::Contains(eHTMLTags aTag){
|
||||
PRBool result=PR_FALSE;
|
||||
if(mTagList) {
|
||||
result=FindTagInSet(aTag,mTagList,mCount);
|
||||
|
@ -48,7 +48,7 @@ public:
|
||||
|
||||
PRInt32 GetTopmostIndexOf(nsTagStack& aTagStack);
|
||||
PRInt32 GetBottommostIndexOf(nsTagStack& aTagStack,PRInt32 aStartOffset);
|
||||
inline PRBool Contains(eHTMLTags aTag);
|
||||
PRBool Contains(eHTMLTags aTag);
|
||||
|
||||
eHTMLTags mTags[5];
|
||||
eHTMLTags* mTagList;
|
||||
@ -128,4 +128,4 @@ static const int kDiscardTag = 0x0001; //tells us to toss this tag
|
||||
static const int kOmitEndTag = 0x0002; //safely ignore end tag
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user