зеркало из https://github.com/mozilla/gecko-dev.git
Bug 855048 - nsRangeFrame shouldn't init the "nsReflowStatus frameStatus" that it passes into ReflowChild. r=dholbert
This commit is contained in:
Родитель
3ab32e025b
Коммит
f9c6b3c079
|
@ -237,7 +237,7 @@ nsRangeFrame::ReflowAnonymousContent(nsPresContext* aPresContext,
|
|||
trackX += aReflowState.mComputedBorderPadding.left;
|
||||
trackY += aReflowState.mComputedBorderPadding.top;
|
||||
|
||||
nsReflowStatus frameStatus = NS_FRAME_COMPLETE;
|
||||
nsReflowStatus frameStatus;
|
||||
nsHTMLReflowMetrics trackDesiredSize;
|
||||
nsresult rv = ReflowChild(trackFrame, aPresContext, trackDesiredSize,
|
||||
trackReflowState, trackX, trackY, 0, frameStatus);
|
||||
|
@ -259,7 +259,7 @@ nsRangeFrame::ReflowAnonymousContent(nsPresContext* aPresContext,
|
|||
// Where we position the thumb depends on its size, so we first reflow
|
||||
// the thumb at {0,0} to obtain its size, then position it afterwards.
|
||||
|
||||
nsReflowStatus frameStatus = NS_FRAME_COMPLETE;
|
||||
nsReflowStatus frameStatus;
|
||||
nsHTMLReflowMetrics thumbDesiredSize;
|
||||
nsresult rv = ReflowChild(thumbFrame, aPresContext, thumbDesiredSize,
|
||||
thumbReflowState, 0, 0, 0, frameStatus);
|
||||
|
@ -286,7 +286,7 @@ nsRangeFrame::ReflowAnonymousContent(nsPresContext* aPresContext,
|
|||
// unadjusted dimensions, then we adjust it to so that the appropriate edge
|
||||
// ends at the thumb.
|
||||
|
||||
nsReflowStatus frameStatus = NS_FRAME_COMPLETE;
|
||||
nsReflowStatus frameStatus;
|
||||
nsHTMLReflowMetrics progressDesiredSize;
|
||||
nsresult rv = ReflowChild(rangeProgressFrame, aPresContext,
|
||||
progressDesiredSize, progressReflowState, 0, 0,
|
||||
|
|
Загрузка…
Ссылка в новой задаче