diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index f3e8264c94a0..9ca8a642c621 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -3311,7 +3311,7 @@ nsCSSFrameConstructor::ConstructFieldSetFrame(nsIPresShell* aPresShell, nsIFrame * newFrame; PRUint32 flags = aIsAbsolutelyPositioned ? NS_BLOCK_SPACE_MGR : 0; nsresult rv = NS_NewFieldSetFrame(aPresShell, &newFrame, flags); - if (!NS_SUCCEEDED(rv) { + if (!NS_SUCCEEDED(rv)) { return rv; } diff --git a/layout/html/style/src/nsCSSFrameConstructor.cpp b/layout/html/style/src/nsCSSFrameConstructor.cpp index f3e8264c94a0..9ca8a642c621 100644 --- a/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -3311,7 +3311,7 @@ nsCSSFrameConstructor::ConstructFieldSetFrame(nsIPresShell* aPresShell, nsIFrame * newFrame; PRUint32 flags = aIsAbsolutelyPositioned ? NS_BLOCK_SPACE_MGR : 0; nsresult rv = NS_NewFieldSetFrame(aPresShell, &newFrame, flags); - if (!NS_SUCCEEDED(rv) { + if (!NS_SUCCEEDED(rv)) { return rv; }