Backed out changeset c502a1a0900a (patch for bug 542263), since its test 'test_GCrace.html' failed on OSX in its first cycle.

This commit is contained in:
Daniel Holbert committed 2010-02-02 18:58:35 -08:00
1 parent 50b083baf1
commit 978db9a58b
2 files changed
+13 -1

No files matched your search

+8 -1
View File
@@ -128,6 +128,11 @@ PluginScriptableObjectParent::ScriptableDeallocate(NPObject* aObject)
}
ParentNPObject* object = reinterpret_cast<ParentNPObject*>(aObject);
if (!object->invalidated) {
ScriptableInvalidate(aObject);
}
NS_ASSERTION(object->invalidated, "Should have invalidated already!");
PluginScriptableObjectParent* actor = object->parent;
if (actor) {
NS_ASSERTION(actor->Type() == Proxy, "Bad type!");
@@ -725,7 +730,9 @@ PluginScriptableObjectParent::DropNPObject()
instance->UnregisterNPObject(mObject);
mObject = nsnull;
CallUnprotect();
if (!CallUnprotect()) {
NS_WARNING("Failed to send message!");
}
}
bool