Bug 559432 - Don't fail the assert if the cached actor is null... that probably just means we're in the process of tearing down the instance, r=josh

--HG--
extra : rebase_source : c7add3dc063f52127818fcdfc9b76e45ed45bf1a
This commit is contained in:
Benjamin Smedberg 2013-01-04 09:50:43 -05:00
parent 64dc3043ee
commit c7ab3acf29

View File

@ -264,9 +264,9 @@ PluginInstanceChild::InternalGetNPObjectForValue(NPNVariable aValue,
// Make sure that the current actor returned by the parent matches our
// cached actor!
NS_ASSERTION(static_cast<PluginScriptableObjectChild*>(currentActor) ==
NS_ASSERTION(!currentActor ||
static_cast<PluginScriptableObjectChild*>(currentActor) ==
actor, "Cached actor is out of date!");
NS_ASSERTION(currentResult == result, "Results don't match?!");
}
#endif