Bug 301313 : Remove mPresContext in /layout/forms/, patch by Andreas Lange <mozilla@lange.cx>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@177834 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -70,16 +70,6 @@ NS_NewLegendFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsLegendFrame::nsLegendFrame()
|
||||
: nsAreaFrame()
|
||||
{
|
||||
mPresContext = nsnull;
|
||||
}
|
||||
|
||||
nsLegendFrame::~nsLegendFrame()
|
||||
{
|
||||
}
|
||||
|
||||
nsIAtom*
|
||||
nsLegendFrame::GetType() const
|
||||
{
|
||||
@@ -117,7 +107,6 @@ nsLegendFrame::Reflow(nsPresContext* aPresContext,
|
||||
DO_GLOBAL_REFLOW_COUNT("nsLegendFrame", aReflowState.reason);
|
||||
DISPLAY_REFLOW(aPresContext, this, aReflowState, aDesiredSize, aStatus);
|
||||
if (eReflowReason_Initial == aReflowState.reason) {
|
||||
mPresContext = aPresContext;
|
||||
nsFormControlFrame::RegUnRegAccessKey(aPresContext, NS_STATIC_CAST(nsIFrame*, this), PR_TRUE);
|
||||
}
|
||||
return nsAreaFrame::Reflow(aPresContext, aDesiredSize, aReflowState, aStatus);
|
||||
|
||||
Reference in New Issue
Block a user