Partial fix for #26618. r=saari
git-svn-id: svn://10.0.0.236/trunk@61365 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5fe4726dbf
commit
888bcc2eb8
@ -1848,6 +1848,12 @@ nsTreeRowGroupFrame::EnsureRowIsVisible(PRInt32 aRowIndex)
|
||||
value.Append(scrollTo);
|
||||
scrollbarContent->SetAttribute(kNameSpaceID_None, nsXULAtoms::curpos,
|
||||
value, PR_TRUE);
|
||||
|
||||
// This change has to happen immediately.
|
||||
// Flush any pending reflow commands.
|
||||
nsCOMPtr<nsIDocument> doc;
|
||||
mContent->GetDocument(*getter_AddRefs(doc));
|
||||
doc->FlushPendingNotifications();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user