Removed DidReflow hack again
git-svn-id: svn://10.0.0.236/trunk@14770 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user