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:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user