Fix parent style context warnings by being consistent about parent contexts.
Bug 380116, r+sr=dbaron
This commit is contained in:
@@ -1164,7 +1164,7 @@ nsComboboxControlFrame::CreateFrameFor(nsIContent* aContent)
|
||||
}
|
||||
|
||||
nsRefPtr<nsStyleContext> textStyleContext;
|
||||
textStyleContext = styleSet->ResolveStyleForNonElement(styleContext);
|
||||
textStyleContext = styleSet->ResolveStyleForNonElement(mStyleContext);
|
||||
if (NS_UNLIKELY(!textStyleContext)) {
|
||||
return nsnull;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user