зеркало из https://github.com/mozilla/pjs.git
just cleaning up a warning, found during fix for bug 52307
This commit is contained in:
Родитель
da6d310845
Коммит
d76d189da3
|
@ -952,8 +952,9 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
|
|||
if (inTextControl)
|
||||
{
|
||||
nsLineBox *currentLine=nsnull;
|
||||
nsresult rv = nsBlockFrame::GetCurrentLine(mBlockRS, ¤tLine);
|
||||
if (NS_SUCCEEDED(rv) && currentLine) {
|
||||
// use localResult because a failure here should not be propagated to my caller
|
||||
nsresult localResult = nsBlockFrame::GetCurrentLine(mBlockRS, ¤tLine);
|
||||
if (NS_SUCCEEDED(localResult) && currentLine) {
|
||||
currentLine->SetForceInvalidate(PR_TRUE);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -952,8 +952,9 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
|
|||
if (inTextControl)
|
||||
{
|
||||
nsLineBox *currentLine=nsnull;
|
||||
nsresult rv = nsBlockFrame::GetCurrentLine(mBlockRS, ¤tLine);
|
||||
if (NS_SUCCEEDED(rv) && currentLine) {
|
||||
// use localResult because a failure here should not be propagated to my caller
|
||||
nsresult localResult = nsBlockFrame::GetCurrentLine(mBlockRS, ¤tLine);
|
||||
if (NS_SUCCEEDED(localResult) && currentLine) {
|
||||
currentLine->SetForceInvalidate(PR_TRUE);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче