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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user