From ee00a0f73772b7cffa44bbd319840c485fafd520 Mon Sep 17 00:00:00 2001 From: "mats.palmgren%bredband.net" Date: Wed, 23 Jan 2008 03:22:22 +0000 Subject: [PATCH] fixing bustage git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@243794 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsGfxScrollFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/layout/generic/nsGfxScrollFrame.cpp b/mozilla/layout/generic/nsGfxScrollFrame.cpp index f39698a5b2c..5480a93af9c 100644 --- a/mozilla/layout/generic/nsGfxScrollFrame.cpp +++ b/mozilla/layout/generic/nsGfxScrollFrame.cpp @@ -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; }