Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky

git-svn-id: svn://10.0.0.236/trunk@148055 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
uid502
2003-10-17 02:38:37 +00:00
parent 8cc6849383
commit f97b0819f2
35 changed files with 164 additions and 276 deletions

View File

@@ -195,9 +195,7 @@ nsLayoutUtils::IsGeneratedContentFor(nsIContent* aContent,
return PR_FALSE;
}
nsStyleContext* styleContext = aFrame->GetStyleContext();
nsCOMPtr<nsIAtom> pseudoType = styleContext->GetPseudoType();
return pseudoType == aPseudoElement;
return aFrame->GetStyleContext()->GetPseudoType() == aPseudoElement;
}
// static