Update scrollframes to the new GetCollapsed() API too. Bug 369127, r+sr=dbaron.

git-svn-id: svn://10.0.0.236/trunk@219432 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2007-02-03 00:08:19 +00:00
parent e874ae7526
commit 6e5369ff05
2 changed files with 4 additions and 7 deletions

View File

@@ -691,13 +691,11 @@ nsHTMLScrollFrame::GetPadding(nsMargin& aMargin)
return NS_OK;
}
NS_IMETHODIMP
nsHTMLScrollFrame::IsCollapsed(nsBoxLayoutState& aBoxLayoutState,
PRBool& aCollapsed)
PRBool
nsHTMLScrollFrame::IsCollapsed(nsBoxLayoutState& aBoxLayoutState)
{
// We're never collapsed in the box sense.
aCollapsed = PR_FALSE;
return NS_OK;
return PR_FALSE;
}
NS_IMETHODIMP

View File

@@ -260,8 +260,7 @@ public:
virtual nscoord GetMinWidth(nsIRenderingContext *aRenderingContext);
virtual nscoord GetPrefWidth(nsIRenderingContext *aRenderingContext);
NS_IMETHOD GetPadding(nsMargin& aPadding);
NS_IMETHOD IsCollapsed(nsBoxLayoutState& aBoxLayoutState,
PRBool& aCollapsed);
virtual PRBool IsCollapsed(nsBoxLayoutState& aBoxLayoutState);
NS_IMETHOD Reflow(nsPresContext* aPresContext,
nsHTMLReflowMetrics& aDesiredSize,