just cleaning up a warning, found during fix for bug 52307
git-svn-id: svn://10.0.0.236/trunk@79082 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user