зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
87d872a38f
Коммит
1aa13912cb
|
@ -264,9 +264,9 @@ PluginInstanceChild::InternalGetNPObjectForValue(NPNVariable aValue,
|
||||||
|
|
||||||
// Make sure that the current actor returned by the parent matches our
|
// Make sure that the current actor returned by the parent matches our
|
||||||
// cached actor!
|
// cached actor!
|
||||||
NS_ASSERTION(static_cast<PluginScriptableObjectChild*>(currentActor) ==
|
NS_ASSERTION(!currentActor ||
|
||||||
|
static_cast<PluginScriptableObjectChild*>(currentActor) ==
|
||||||
actor, "Cached actor is out of date!");
|
actor, "Cached actor is out of date!");
|
||||||
NS_ASSERTION(currentResult == result, "Results don't match?!");
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче