Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8

This commit is contained in:
Ms2ger
2013-08-02 09:04:01 +02:00
parent 6451372ea6
commit 05eabee20f
14 changed files with 32 additions and 33 deletions

View File

@@ -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) {