mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1139709. Address review comments. r=mats
This commit is contained in:
parent
1f0e9c4090
commit
e6cf2ce6e5
@ -981,7 +981,7 @@ nsMathMLContainerFrame::MarkIntrinsicISizesDirty()
|
||||
}
|
||||
|
||||
void
|
||||
nsMathMLContainerFrame::UpdateIntrinsicWidth(nsRenderingContext *aRenderingContext)
|
||||
nsMathMLContainerFrame::UpdateIntrinsicWidth(nsRenderingContext* aRenderingContext)
|
||||
{
|
||||
if (mIntrinsicWidth == NS_INTRINSIC_WIDTH_UNKNOWN) {
|
||||
nsHTMLReflowMetrics desiredSize(GetWritingMode());
|
||||
@ -995,7 +995,7 @@ nsMathMLContainerFrame::UpdateIntrinsicWidth(nsRenderingContext *aRenderingConte
|
||||
}
|
||||
|
||||
/* virtual */ nscoord
|
||||
nsMathMLContainerFrame::GetMinISize(nsRenderingContext *aRenderingContext)
|
||||
nsMathMLContainerFrame::GetMinISize(nsRenderingContext* aRenderingContext)
|
||||
{
|
||||
nscoord result;
|
||||
DISPLAY_MIN_WIDTH(this, result);
|
||||
@ -1005,7 +1005,7 @@ nsMathMLContainerFrame::GetMinISize(nsRenderingContext *aRenderingContext)
|
||||
}
|
||||
|
||||
/* virtual */ nscoord
|
||||
nsMathMLContainerFrame::GetPrefISize(nsRenderingContext *aRenderingContext)
|
||||
nsMathMLContainerFrame::GetPrefISize(nsRenderingContext* aRenderingContext)
|
||||
{
|
||||
nscoord result;
|
||||
DISPLAY_PREF_WIDTH(this, result);
|
||||
@ -1015,7 +1015,8 @@ nsMathMLContainerFrame::GetPrefISize(nsRenderingContext *aRenderingContext)
|
||||
}
|
||||
|
||||
/* virtual */ void
|
||||
nsMathMLContainerFrame::GetIntrinsicISizeMetrics(nsRenderingContext* aRenderingContext, nsHTMLReflowMetrics& aDesiredSize)
|
||||
nsMathMLContainerFrame::GetIntrinsicISizeMetrics(nsRenderingContext* aRenderingContext,
|
||||
nsHTMLReflowMetrics& aDesiredSize)
|
||||
{
|
||||
// Get child widths
|
||||
nsIFrame* childFrame = mFrames.FirstChild();
|
||||
|
@ -99,8 +99,8 @@ public:
|
||||
* Both GetMinISize and GetPrefISize use the intrinsic width metrics
|
||||
* returned by GetIntrinsicMetrics, including ink overflow.
|
||||
*/
|
||||
virtual nscoord GetMinISize(nsRenderingContext *aRenderingContext) MOZ_OVERRIDE;
|
||||
virtual nscoord GetPrefISize(nsRenderingContext *aRenderingContext) MOZ_OVERRIDE;
|
||||
virtual nscoord GetMinISize(nsRenderingContext* aRenderingContext) MOZ_OVERRIDE;
|
||||
virtual nscoord GetPrefISize(nsRenderingContext* aRenderingContext) MOZ_OVERRIDE;
|
||||
|
||||
/**
|
||||
* Return the intrinsic horizontal metrics of the frame's content area.
|
||||
@ -399,7 +399,7 @@ protected:
|
||||
/**
|
||||
* Recompute mIntrinsicWidth if it's not already up to date.
|
||||
*/
|
||||
void UpdateIntrinsicWidth(nsRenderingContext *aRenderingContext);
|
||||
void UpdateIntrinsicWidth(nsRenderingContext* aRenderingContext);
|
||||
|
||||
nscoord mIntrinsicWidth;
|
||||
|
||||
|
@ -1035,7 +1035,7 @@ nsMathMLmoFrame::MarkIntrinsicISizesDirty()
|
||||
}
|
||||
|
||||
/* virtual */ void
|
||||
nsMathMLmoFrame::GetIntrinsicISizeMetrics(nsRenderingContext *aRenderingContext,
|
||||
nsMathMLmoFrame::GetIntrinsicISizeMetrics(nsRenderingContext* aRenderingContext,
|
||||
nsHTMLReflowMetrics& aDesiredSize)
|
||||
{
|
||||
ProcessOperatorData();
|
||||
|
Loading…
Reference in New Issue
Block a user