Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8

This commit is contained in:
Kyle Huey
2013-09-08 20:28:48 -07:00
parent 9bee634e6e
commit 8313139111
31 changed files with 129 additions and 76 deletions

View File

@@ -1221,7 +1221,9 @@ void
FragmentOrElement::MarkNodeChildren(nsINode* aNode)
{
JSObject* o = GetJSObjectChild(aNode);
xpc_UnmarkGrayObject(o);
if (o) {
JS::ExposeObjectToActiveJS(o);
}
nsEventListenerManager* elm = aNode->GetListenerManager(false);
if (elm) {