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:
troy
1998-04-17 01:41:24 +00:00
parent 318aac7f83
commit fd68898ebd
100 changed files with 4538 additions and 2991 deletions

View File

@@ -215,11 +215,13 @@ PRInt32 CSSStyleSheetImpl::RulesMatching(nsIPresContext* aPresContext,
selector = selector->mNext;
nsIFrame* frame = aParentFrame;
while ((nsnull != selector) && (nsnull != frame)) { // check compound selectors
nsIContent* content = frame->GetContent();
nsIContent* content;
frame->GetContent(content);
if (SelectorMatches(selector, content)) {
selector = selector->mNext;
}
frame = frame->GetGeometricParent();
frame->GetGeometricParent(frame);
NS_RELEASE(content);
}
if (nsnull == selector) { // ran out, it matched