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
Родитель 87d872a38f
Коммит 1aa13912cb
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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