if (mUndisplayedMap) mUndisplayedMap->GetNodeFor(aContent, aResult);
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; } }
FrameManager::GetUndisplayedContent(nsIContent* aContent, nsIStyleContext** aResult){  if (!aContent)    return NS_ERROR_NULL_POINTER;  *aResult = nsnull;  // initialize out param  if (mUndisplayedMap)    mUndisplayedMap->GetNodeFor(aContent, aResult);      return NS_OK;}