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

@@ -86,6 +86,11 @@ PluginScriptableObjectChild::ScriptableDeallocate(NPObject* aObject)
}
ChildNPObject* object = reinterpret_cast<ChildNPObject*>(aObject);
if (!object->invalidated) {
ScriptableInvalidate(aObject);
}
NS_ASSERTION(object->invalidated, "Should have invalidated already!");
PluginScriptableObjectChild* actor = object->parent;
if (actor) {
NS_ASSERTION(actor->Type() == Proxy, "Bad type!");