Removed DidReflow hack again

git-svn-id: svn://10.0.0.236/trunk@14770 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1998-11-17 01:03:41 +00:00
parent 5e936efd0f
commit e8e77859cb
4 changed files with 0 additions and 38 deletions

View File

@@ -54,22 +54,6 @@ nsPlaceholderFrame::~nsPlaceholderFrame()
{
}
// XXX Major hack...
NS_IMETHODIMP
nsPlaceholderFrame::DidReflow(nsIPresContext& aPresContext, nsDidReflowStatus aStatus)
{
// XXX Floated frames aren't being returned by block's FirstChild() member function
// so make sure they get a DidReflow notification
if (nsnull != mAnchoredItem) {
nsIHTMLReflow* htmlReflow;
if (NS_SUCCEEDED(mAnchoredItem->QueryInterface(kIHTMLReflowIID, (void**)&htmlReflow))) {
htmlReflow->DidReflow(aPresContext, aStatus);
}
}
return nsFrame::DidReflow(aPresContext, aStatus);
}
NS_IMETHODIMP
nsPlaceholderFrame::Reflow(nsIPresContext& aPresContext,
nsHTMLReflowMetrics& aDesiredSize,

View File

@@ -48,9 +48,6 @@ public:
nsReflowStatus& aStatus);
// nsIFrame overrides
NS_IMETHOD DidReflow(nsIPresContext& aPresContext,
nsDidReflowStatus aStatus);
NS_IMETHOD Paint(nsIPresContext& aPresContext,
nsIRenderingContext& aRenderingContext,
const nsRect& aDirtyRect);

View File

@@ -54,22 +54,6 @@ nsPlaceholderFrame::~nsPlaceholderFrame()
{
}
// XXX Major hack...
NS_IMETHODIMP
nsPlaceholderFrame::DidReflow(nsIPresContext& aPresContext, nsDidReflowStatus aStatus)
{
// XXX Floated frames aren't being returned by block's FirstChild() member function
// so make sure they get a DidReflow notification
if (nsnull != mAnchoredItem) {
nsIHTMLReflow* htmlReflow;
if (NS_SUCCEEDED(mAnchoredItem->QueryInterface(kIHTMLReflowIID, (void**)&htmlReflow))) {
htmlReflow->DidReflow(aPresContext, aStatus);
}
}
return nsFrame::DidReflow(aPresContext, aStatus);
}
NS_IMETHODIMP
nsPlaceholderFrame::Reflow(nsIPresContext& aPresContext,
nsHTMLReflowMetrics& aDesiredSize,

View File

@@ -48,9 +48,6 @@ public:
nsReflowStatus& aStatus);
// nsIFrame overrides
NS_IMETHOD DidReflow(nsIPresContext& aPresContext,
nsDidReflowStatus aStatus);
NS_IMETHOD Paint(nsIPresContext& aPresContext,
nsIRenderingContext& aRenderingContext,
const nsRect& aDirtyRect);