mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 1080621 - Don't pass nscoord in-params by reference in nsBidiPresUtils methods. r=smontagu
This commit is contained in:
parent
1428512193
commit
4778df83d1
@ -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;
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user