Changed nsIFrame member functions to return a nsresult
git-svn-id: svn://10.0.0.236/trunk@346 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -454,7 +454,7 @@ nsIStyleContext* StyleSetImpl::ResolveStyleFor(nsIPresContext* aPresContext,
|
||||
nsIStyleContext* parentContext = nsnull;
|
||||
|
||||
if (nsnull != aParentFrame) {
|
||||
parentContext = aParentFrame->GetStyleContext(aPresContext);
|
||||
aParentFrame->GetStyleContext(aPresContext, parentContext);
|
||||
NS_ASSERTION(nsnull != parentContext, "parent must have style context");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user