PR_ASSERT(clazz->class_name && PL_strlen(clazz->class_name) > 0);
PR_ASSERT(clazz->class_name && nsCRT::strlen(clazz->class_name) > 0);
mime_new (MimeObjectClass *clazz, MimeHeaders *hdrs,		  const char *override_content_type){  int size = clazz->instance_size;  MimeObject *object;  int status;  /* Some assertions to verify that this isn't random junk memory... */  PR_ASSERT(clazz->class_name && PL_strlen(clazz->class_name) > 0);  PR_ASSERT(size > 0 && size < 1000);  if (!clazz->class_initialized)	{	  status = mime_classinit(clazz);	  if (status < 0) return 0;	}  PR_ASSERT(clazz->initialize && clazz->finalize);  if (hdrs)	{	  hdrs = MimeHeaders_copy (hdrs);	  if (!hdrs) return 0;	}  object = (MimeObject *) PR_MALLOC(size);  if (!object) return 0;  memset(object, 0, size);  object->clazz = clazz;  object->headers = hdrs;  object->showAttachmentIcon = PR_FALSE; /* initialize ricardob's new member. */  if (override_content_type && *override_content_type)	object->content_type = PL_strdup(override_content_type);  status = clazz->initialize(object);  if (status < 0)	{	  clazz->finalize(object);	  PR_Free(object);	  return 0;	}  return object;}