mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-26 12:59:23 -10:00
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:
1 parent
50b083baf1
commit
978db9a58b
2 files changed
+13
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user