Bug 105063. Drop support for storing content ID since we'll never realistically have XUL frames requiring state restoration. r=brendan, sr=jst.

This commit is contained in:
waterson%netscape.com 2001-10-18 07:25:40 +00:00
parent 9c2fe40930
commit 34a07e4ffa
2 changed files with 1 additions and 4 deletions

View File

@ -524,7 +524,6 @@ nsXULElement::nsXULElement()
#ifdef DEBUG
mIsScriptObjectRooted(PR_FALSE),
#endif
mContentId(0),
mLazyState(0),
mBindingParent(nsnull),
mSlots(nsnull)
@ -3778,14 +3777,13 @@ nsXULElement::HandleDOMEvent(nsIPresContext* aPresContext,
NS_IMETHODIMP
nsXULElement::GetContentID(PRUint32* aID)
{
*aID = mContentId;
*aID = 0;
return NS_OK;
}
NS_IMETHODIMP
nsXULElement::SetContentID(PRUint32 aID)
{
mContentId = aID;
return NS_OK;
}

View File

@ -532,7 +532,6 @@ protected:
#ifdef DEBUG
PRBool mIsScriptObjectRooted;
#endif
PRInt32 mContentId;
// The state of our sloth for lazy content model construction via
// RDF; see nsIXULContent and nsRDFGenericBuilder.