зеркало из https://github.com/mozilla/gecko-dev.git
Fix silly error that caused no scrollbars in non-SVG builds. Bug 289248, r+sr+a=shaver
This commit is contained in:
Родитель
9366c546fa
Коммит
6ed3b531b2
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче