mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 10:08:41 +00:00
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:
parent
9c2fe40930
commit
34a07e4ffa
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user