Bug 1080621 - Don't pass nscoord in-params by reference in nsBidiPresUtils methods. r=smontagu

This commit is contained in:
Jonathan Kew 2014-10-16 09:40:20 +01:00
parent 1428512193
commit 4778df83d1
2 changed files with 8 additions and 8 deletions

View File

@ -1224,7 +1224,7 @@ void
nsBidiPresUtils::ReorderFrames(nsIFrame* aFirstFrameOnLine,
int32_t aNumFramesOnLine,
WritingMode aLineWM,
nscoord& aLineWidth,
nscoord aLineWidth,
nscoord aStart)
{
// If this line consists of a line frame, reorder the line frame's children.
@ -1399,7 +1399,7 @@ nsBidiPresUtils::RepositionFrame(nsIFrame* aFrame,
nscoord& aStart,
nsContinuationStates* aContinuationStates,
WritingMode aContainerWM,
nscoord& aContainerWidth)
nscoord aContainerWidth)
{
if (!aFrame)
return;
@ -1509,8 +1509,8 @@ void
nsBidiPresUtils::RepositionInlineFrames(BidiLineData *aBld,
nsIFrame* aFirstChild,
WritingMode aLineWM,
nscoord& aLineWidth,
nscoord& aStart)
nscoord aLineWidth,
nscoord aStart)
{
nscoord start = aStart;
nsIFrame* frame;

View File

@ -160,7 +160,7 @@ public:
static void ReorderFrames(nsIFrame* aFirstFrameOnLine,
int32_t aNumFramesOnLine,
mozilla::WritingMode aLineWM,
nscoord& aLineWidth,
nscoord aLineWidth,
nscoord aStart);
/**
@ -399,7 +399,7 @@ private:
nscoord& aStart,
nsContinuationStates* aContinuationStates,
mozilla::WritingMode aContainerWM,
nscoord& aContainerWidth);
nscoord aContainerWidth);
/*
* Initialize the continuation state(nsFrameContinuationState) to
@ -452,8 +452,8 @@ private:
static void RepositionInlineFrames(BidiLineData* aBld,
nsIFrame* aFirstChild,
mozilla::WritingMode aLineWM,
nscoord& aLineWidth,
nscoord& aStart);
nscoord aLineWidth,
nscoord aStart);
/**
* Helper method for Resolve()