Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8
This commit is contained in:
@@ -989,7 +989,7 @@ FragmentOrElement::DestroyContent()
|
||||
|
||||
// XXX We really should let cycle collection do this, but that currently still
|
||||
// leaks (see https://bugzilla.mozilla.org/show_bug.cgi?id=406684).
|
||||
nsContentUtils::ReleaseWrapper(this, this);
|
||||
ReleaseWrapper(this);
|
||||
|
||||
uint32_t i, count = mAttrsAndChildren.ChildCount();
|
||||
for (i = 0; i < count; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user