FrameManager::GetUndisplayedContent(nsIContent* aContent, nsIStyleContext** aResult)
FrameManager::GetUndisplayedContent(nsIContent* aContent)
FrameManager::GetUndisplayedContent(nsIContent* aContent, nsIStyleContext** aResult){  NS_ENSURE_ARG_POINTER(aContent);  *aResult = nsnull;  // initialize out param  if (!mUndisplayedMap)    return NS_OK;  nsCOMPtr<nsIContent> parent;  aContent->GetParent(*getter_AddRefs(parent));  if (!parent)    return NS_OK;  for (UndisplayedNode* node = mUndisplayedMap->GetFirstNode(parent);         node; node = node->mNext) {    if (node->mContent == aContent) {      *aResult = node->mStyle;      NS_ADDREF(*aResult);      return NS_OK;    }  }  return NS_OK;}