sync to style resolution api changes

git-svn-id: svn://10.0.0.236/trunk@14009 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com
1998-11-03 20:33:43 +00:00
parent b574a339c4
commit 93d3fcc553
53 changed files with 568 additions and 528 deletions

View File

@@ -566,7 +566,7 @@ nsHTMLButtonControlFrame::Init(nsIPresContext& aPresContext, nsIFrame* aChildLis
// Resolve style and set the style context
nsIStyleContext* styleContext =
aPresContext.ResolveStyleContextFor(mContent, this);
aPresContext.ResolvePseudoStyleContextFor(mContent, nsHTMLAtoms::buttonContentPseudo, mStyleContext);
mFirstChild->SetStyleContext(&aPresContext, styleContext);
NS_RELEASE(styleContext);