From 6594f8745d6c3c15026ee03796d9767e2b524e84 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Tue, 10 Nov 1998 19:20:53 +0000 Subject: [PATCH] Fixed AddFrame method hiding --- layout/html/base/src/nsBodyFrame.cpp | 4 ++-- layout/html/base/src/nsBodyFrame.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layout/html/base/src/nsBodyFrame.cpp b/layout/html/base/src/nsBodyFrame.cpp index 1013343c04d..d342da9e404 100644 --- a/layout/html/base/src/nsBodyFrame.cpp +++ b/layout/html/base/src/nsBodyFrame.cpp @@ -713,7 +713,7 @@ nsBodyFrame::ComputeDesiredSize(nsIPresContext& aPresContext, } // Add the frame to the end of the child list -void nsBodyFrame::AddFrame(nsIFrame* aFrame) +void nsBodyFrame::AddAbsoluteFrame(nsIFrame* aFrame) { nsIFrame* lastChild = LastFrame(mFirstChild); @@ -933,7 +933,7 @@ nsBodyFrame::ReflowAbsoluteItems(nsIPresContext& aPresContext, absoluteFrame->SetGeometricParent(this); // Add the absolutely positioned frame to the end of the child list - AddFrame(absoluteFrame); + AddAbsoluteFrame(absoluteFrame); // Make sure the frame has a view nsIView* view; diff --git a/layout/html/base/src/nsBodyFrame.h b/layout/html/base/src/nsBodyFrame.h index 9ed732139a8..c77fd0603fe 100644 --- a/layout/html/base/src/nsBodyFrame.h +++ b/layout/html/base/src/nsBodyFrame.h @@ -105,7 +105,7 @@ protected: const nsStylePosition* aPosition, nsRect& aRect) const; - void AddFrame(nsIFrame* aFrame); + void AddAbsoluteFrame(nsIFrame* aFrame); private: nsSpaceManager* mSpaceManager;