зеркало из https://github.com/mozilla/pjs.git
Fix wrap-o in assertion message. Debug only.
This commit is contained in:
Родитель
8660f7da95
Коммит
8ac51e96a1
|
@ -611,7 +611,7 @@ nsGenericDOMDataNode::BindToTree(nsIDocument* aDocument, nsIContent* aParent,
|
|||
NS_ASSERTION(IsRootOfNativeAnonymousSubtree() ||
|
||||
!HasFlag(NODE_IS_IN_ANONYMOUS_SUBTREE) ||
|
||||
aBindingParent->IsInNativeAnonymousSubtree(),
|
||||
"Trying to re-bind content from native anonymous subtree to"
|
||||
"Trying to re-bind content from native anonymous subtree to "
|
||||
"non-native anonymous parent!");
|
||||
slots->mBindingParent = aBindingParent; // Weak, so no addref happens.
|
||||
if (IsRootOfNativeAnonymousSubtree() ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче