Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.

git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%mozilla.jstenback.com
2003-09-27 04:18:26 +00:00
parent e350065f77
commit ef67a47aab
203 changed files with 3055 additions and 4091 deletions

View File

@@ -1981,11 +1981,7 @@ nsTextFrame::GetContentAndOffsetsForSelection(nsIPresContext *aPresContext, nsIC
}
else
{
PRInt32 numChildren;
if (NS_SUCCEEDED(rv = (*aContent)->ChildCount(numChildren)))
*aOffset = numChildren;
else
return rv;
*aOffset = (*aContent)->GetChildCount();
}
}
else