Fix silly error that caused no scrollbars in non-SVG builds. Bug 289248, r+sr+a=shaver

This commit is contained in:
bzbarsky%mit.edu 2005-04-06 15:55:00 +00:00
Родитель 9366c546fa
Коммит 6ed3b531b2
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -5654,8 +5654,13 @@ nsCSSFrameConstructor::CreateAnonymousFrames(nsFrameConstructorState& aState,
aParent->GetNodeInfo() &&
aParent->GetNodeInfo()->Equals(nsSVGAtoms::use, kNameSpaceID_SVG))
bindingParent = aParent;
else
#endif
// Empty block to serve as the else clause to keep the
// following statement from accidentally falling into the
// |else| when the #defines are changed.
{}
rv = content->BindToTree(aDocument, aParent, bindingParent, PR_TRUE);
if (NS_FAILED(rv)) {
content->UnbindFromTree();