diff --git a/dom/plugins/ipc/PluginInstanceChild.cpp b/dom/plugins/ipc/PluginInstanceChild.cpp index 18aa8128f68..38f7e961fed 100644 --- a/dom/plugins/ipc/PluginInstanceChild.cpp +++ b/dom/plugins/ipc/PluginInstanceChild.cpp @@ -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(currentActor) == + NS_ASSERTION(!currentActor || + static_cast(currentActor) == actor, "Cached actor is out of date!"); - NS_ASSERTION(currentResult == result, "Results don't match?!"); } #endif