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

git-svn-id: svn://10.0.0.236/trunk@60460 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nisheeth%netscape.com 2000-02-11 07:11:43 +00:00
parent f2d3cb0785
commit 740297e197
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);
}