Removed build warning caused by overloaded GetDesiredSize. bug=15575. r=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@51745 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -214,6 +214,17 @@ nsButtonControlFrame::MouseClicked(nsIPresContext* aPresContext)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
nsButtonControlFrame::GetDesiredSize(nsIPresContext* aPresContext,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
nsHTMLReflowMetrics& aDesiredSize)
|
||||
{
|
||||
// This "do-nothing" implementation exists to remove compiler warnings caused
|
||||
// by the fact that GetDesiredSize is both overloaded and overridden.
|
||||
Inherited::GetDesiredSize(aPresContext, aReflowState, aDesiredSize);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
nsButtonControlFrame::GetDesiredSize(nsIPresContext* aPresContext,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
|
||||
Reference in New Issue
Block a user