r=Troy. We were specifying the incorrect child as a reflow dirty target in some cases.

This commit is contained in:
nisheeth%netscape.com 2000-02-11 07:11:43 +00:00
parent d581aa9adf
commit 99f85886b8
2 changed files with 2 additions and 2 deletions

View File

@ -790,7 +790,7 @@ nsTextFrame::ContentChanged(nsIPresContext* aPresContext,
nsCOMPtr<nsIPresShell> shell;
rv = aPresContext->GetShell(getter_AddRefs(shell));
if (NS_SUCCEEDED(rv) && shell && mParent) {
mParent->ReflowDirtyChild(shell, this);
mParent->ReflowDirtyChild(shell, targetTextFrame);
}

View File

@ -790,7 +790,7 @@ nsTextFrame::ContentChanged(nsIPresContext* aPresContext,
nsCOMPtr<nsIPresShell> shell;
rv = aPresContext->GetShell(getter_AddRefs(shell));
if (NS_SUCCEEDED(rv) && shell && mParent) {
mParent->ReflowDirtyChild(shell, this);
mParent->ReflowDirtyChild(shell, targetTextFrame);
}