mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
Bug 587484 - warning: suggest parentheses around assignment used as truth value in while (... = GetNextContinuation())
r+a=dbaron
This commit is contained in:
parent
f94aa928dd
commit
262e601c9f
@ -7668,7 +7668,7 @@ UpdateViewsForTree(nsIFrame* aFrame, nsIViewManager* aViewManager,
|
||||
do {
|
||||
DoApplyRenderingChangeToTree(outOfFlowFrame, aViewManager,
|
||||
aFrameManager, aChange);
|
||||
} while (outOfFlowFrame = outOfFlowFrame->GetNextContinuation());
|
||||
} while ((outOfFlowFrame = outOfFlowFrame->GetNextContinuation()));
|
||||
} else if (childList == nsGkAtoms::popupList) {
|
||||
DoApplyRenderingChangeToTree(child, aViewManager,
|
||||
aFrameManager, aChange);
|
||||
|
@ -778,7 +778,7 @@ nsFrameManager::ReparentStyleContext(nsIFrame* aFrame)
|
||||
NS_ASSERTION(outOfFlow, "no out-of-flow frame");
|
||||
do {
|
||||
ReparentStyleContext(outOfFlow);
|
||||
} while (outOfFlow = outOfFlow->GetNextContinuation());
|
||||
} while ((outOfFlow = outOfFlow->GetNextContinuation()));
|
||||
}
|
||||
|
||||
// DO NOT verify the style tree before reparenting. The frame
|
||||
@ -1498,7 +1498,7 @@ nsFrameManager::ReResolveStyleContext(nsPresContext *aPresContext,
|
||||
aRestyleTracker,
|
||||
kidsDesiredA11yNotification,
|
||||
aVisibleKidsOfHiddenElement);
|
||||
} while (outOfFlowFrame = outOfFlowFrame->GetNextContinuation());
|
||||
} while ((outOfFlowFrame = outOfFlowFrame->GetNextContinuation()));
|
||||
|
||||
// reresolve placeholder's context under the same parent
|
||||
// as the out-of-flow frame
|
||||
|
Loading…
Reference in New Issue
Block a user