Bug 333942. Move GetParent to nsINode and add GetNodeParent there too. There is a risk that this'll add some binary size, but hopefully not too much. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@194451 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -117,7 +117,9 @@ nsTextFragment::ReleaseText()
|
||||
m1b = nsnull;
|
||||
|
||||
// Set mState.mIs2b, mState.mInHeap, and mState.mLength = 0 with mAllBits;
|
||||
PRBool tmp = mState.mExtraBit;
|
||||
mAllBits = 0;
|
||||
mState.mExtraBit = tmp;
|
||||
}
|
||||
|
||||
nsTextFragment&
|
||||
@@ -136,7 +138,9 @@ nsTextFragment::operator=(const nsTextFragment& aOther)
|
||||
}
|
||||
|
||||
if (m1b) {
|
||||
PRBool tmp = mState.mExtraBit;
|
||||
mAllBits = aOther.mAllBits;
|
||||
mState.mExtraBit = tmp;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user