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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user