Bug 745991: In nsCSSFrameConstructor::MaybeRecreateContainerForFrameRemoval, add explicit parenthesis around '&&' within '||' to silence GCC warning. r=smontagu

This commit is contained in:
Daniel Holbert 2012-04-17 09:56:15 -07:00
parent b7a5d44d03
commit 3643243851

View File

@ -8969,8 +8969,8 @@ nsCSSFrameConstructor::MaybeRecreateContainerForFrameRemoval(nsIFrame* aFrame,
// a non-fluid continuation, i.e. it was split by bidi resolution
if (!inFlowFrame->GetPrevSibling() &&
!inFlowFrame->GetNextSibling() &&
(parent->GetPrevContinuation() && !parent->GetPrevInFlow() ||
parent->GetNextContinuation() && !parent->GetNextInFlow())) {
((parent->GetPrevContinuation() && !parent->GetPrevInFlow()) ||
(parent->GetNextContinuation() && !parent->GetNextInFlow()))) {
*aResult = RecreateFramesForContent(parent->GetContent(), true);
return true;
}