Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).

This commit is contained in:
David Anderson
2013-07-10 15:05:39 -07:00
parent 0b9b6e1a09
commit c4c18e062d
29 changed files with 649 additions and 146 deletions

View File

@@ -494,14 +494,11 @@ CPOWProxyHandler::finalize(JSFreeOp *fop, JSObject *proxy)
void
JavaScriptParent::drop(JSObject *obj)
{
if (inactive_)
return;
ObjectId objId = idOf(obj);
objects_.remove(objId);
if (!SendDropObject(objId))
MOZ_CRASH();
if (!inactive_ && !SendDropObject(objId))
(void)0;
decref();
}