mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
r=Troy. We were specifying the incorrect child as a reflow dirty target in some cases.
This commit is contained in:
parent
d581aa9adf
commit
99f85886b8
@ -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…
Reference in New Issue
Block a user