зеркало из https://github.com/mozilla/pjs.git
Fix uninitialized variable introduced last night. b=1777
This commit is contained in:
Родитель
7ade523ba0
Коммит
1a01999234
|
@ -1948,7 +1948,8 @@ nsTextFrame::PaintTextDecorations(nsIRenderingContext& aRenderingContext,
|
|||
PRUint32(end - start), textWidth);
|
||||
|
||||
}
|
||||
nscoord offset, size, baseline;
|
||||
nscoord offset, size;
|
||||
nscoord baseline = mAscent;
|
||||
switch (aDetails->mType)
|
||||
{
|
||||
case nsISelectionController::SELECTION_NORMAL:
|
||||
|
|
|
@ -1948,7 +1948,8 @@ nsTextFrame::PaintTextDecorations(nsIRenderingContext& aRenderingContext,
|
|||
PRUint32(end - start), textWidth);
|
||||
|
||||
}
|
||||
nscoord offset, size, baseline;
|
||||
nscoord offset, size;
|
||||
nscoord baseline = mAscent;
|
||||
switch (aDetails->mType)
|
||||
{
|
||||
case nsISelectionController::SELECTION_NORMAL:
|
||||
|
|
Загрузка…
Ссылка в новой задаче