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:
parent
f2d3cb0785
commit
740297e197
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user