API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor
git-svn-id: svn://10.0.0.236/trunk@20413 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -91,9 +91,9 @@ nsHTMLContainerFrame::CreatePlaceholderFrame(nsIPresContext& aPresContext,
|
||||
// The placeholder frame gets a pseudo style context
|
||||
nsIStyleContext* kidSC;
|
||||
aFloatedFrame->GetStyleContext(&kidSC);
|
||||
nsIStyleContext* placeholderPseudoStyle =
|
||||
aPresContext.ResolvePseudoStyleContextFor(content,
|
||||
nsHTMLAtoms::placeholderPseudo, kidSC);
|
||||
nsIStyleContext* placeholderPseudoStyle;
|
||||
aPresContext.ResolvePseudoStyleContextFor(content, nsHTMLAtoms::placeholderPseudo,
|
||||
kidSC, &placeholderPseudoStyle);
|
||||
NS_RELEASE(kidSC);
|
||||
placeholder->Init(aPresContext, content, this, placeholderPseudoStyle);
|
||||
NS_RELEASE(placeholderPseudoStyle);
|
||||
|
||||
Reference in New Issue
Block a user