void* image = GetProperty(nsLayoutAtoms::imageFrame); if (NS_PTR_TO_INT32(image)) { state |= nsImageLoadingContent::ImageState(); } void* broken = GetProperty(nsCSSPseudoClasses::mozBroken); if (NS_PTR_TO_INT32(broken)) { state |= NS_EVENT_STATE_BROKEN; }
state |= ObjectState();
nsHTMLSharedElement::IntrinsicState() const{  PRInt32 state = nsGenericHTMLElement::IntrinsicState();  if (mNodeInfo->Equals(nsHTMLAtoms::embed)) {    void* image = GetProperty(nsLayoutAtoms::imageFrame);    if (NS_PTR_TO_INT32(image)) {      state |= nsImageLoadingContent::ImageState();    }    void* broken = GetProperty(nsCSSPseudoClasses::mozBroken);    if (NS_PTR_TO_INT32(broken)) {      state |= NS_EVENT_STATE_BROKEN;    }  }  return state;}