Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -373,7 +373,7 @@ nsBidiPresUtils::Resolve(nsPresContext* aPresContext,
|
||||
} // if (runLength <= 0)
|
||||
|
||||
if (nsLayoutAtoms::directionalFrame == frameType) {
|
||||
frame->Destroy(aPresContext);
|
||||
frame->Destroy();
|
||||
frame = nsnull;
|
||||
++lineOffset;
|
||||
}
|
||||
@@ -880,7 +880,7 @@ nsBidiPresUtils::RemoveBidiContinuation(nsPresContext* aPresContext,
|
||||
for (PRInt32 index = aFirstIndex + 1; index <= aLastIndex; index++) {
|
||||
nsIFrame* frame = (nsIFrame*) mLogicalFrames[index];
|
||||
if (nsLayoutAtoms::directionalFrame == frame->GetType()) {
|
||||
frame->Destroy(aPresContext);
|
||||
frame->Destroy();
|
||||
++aOffset;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user