mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
64dc3043ee
commit
c7ab3acf29
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user