mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1008917 - part 12, make nsFrame::WillReflow() return type 'void'. r=roc
This commit is contained in:
parent
39083b6251
commit
60afe18a5c
@ -4267,7 +4267,7 @@ nsFrame::ShrinkWidthToFit(nsRenderingContext *aRenderingContext,
|
||||
return result;
|
||||
}
|
||||
|
||||
nsresult
|
||||
void
|
||||
nsFrame::WillReflow(nsPresContext* aPresContext)
|
||||
{
|
||||
#ifdef DEBUG_dbaron_off
|
||||
@ -4279,7 +4279,6 @@ nsFrame::WillReflow(nsPresContext* aPresContext)
|
||||
NS_FRAME_TRACE_MSG(NS_FRAME_TRACE_CALLS,
|
||||
("WillReflow: oldState=%x", mState));
|
||||
mState |= NS_FRAME_IN_REFLOW;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -295,7 +295,7 @@ public:
|
||||
nscoord ShrinkWidthToFit(nsRenderingContext *aRenderingContext,
|
||||
nscoord aWidthInCB);
|
||||
|
||||
virtual nsresult WillReflow(nsPresContext* aPresContext) MOZ_OVERRIDE;
|
||||
virtual void WillReflow(nsPresContext* aPresContext) MOZ_OVERRIDE;
|
||||
/**
|
||||
* Calculates the size of this frame after reflowing (calling Reflow on, and
|
||||
* updating the size and position of) its children, as necessary. The
|
||||
|
@ -1820,7 +1820,7 @@ public:
|
||||
* XXX Is this really the semantics we want? Because we have the NS_FRAME_IN_REFLOW
|
||||
* bit we can ensure we don't call it more than once...
|
||||
*/
|
||||
virtual nsresult WillReflow(nsPresContext* aPresContext) = 0;
|
||||
virtual void WillReflow(nsPresContext* aPresContext) = 0;
|
||||
|
||||
/**
|
||||
* The frame is given an available size and asked for its desired
|
||||
|
@ -112,11 +112,11 @@ public:
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
nsReflowStatus& aStatus) MOZ_OVERRIDE;
|
||||
|
||||
virtual nsresult
|
||||
virtual void
|
||||
WillReflow(nsPresContext* aPresContext) MOZ_OVERRIDE
|
||||
{
|
||||
mPresentationData.flags &= ~NS_MATHML_ERROR;
|
||||
return nsContainerFrame::WillReflow(aPresContext);
|
||||
nsContainerFrame::WillReflow(aPresContext);
|
||||
}
|
||||
|
||||
virtual void DidReflow(nsPresContext* aPresContext,
|
||||
|
Loading…
Reference in New Issue
Block a user