fixing bustage

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@243794 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mats.palmgren%bredband.net
2008-01-23 03:22:22 +00:00
parent dad2b7f135
commit ee00a0f737

View File

@@ -216,7 +216,7 @@ nsHTMLScrollFrame::RemoveFrame(nsIAtom* aListName,
nsIFrame* aOldFrame)
{
NS_ASSERTION(!aListName, "Only main list supported");
mFrames.DestroyFrame(PresContext(), aOldFrame);
mFrames.DestroyFrame(GetPresContext(), aOldFrame);
mInner.ReloadChildFrames();
return NS_OK;
}