r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell.
git-svn-id: svn://10.0.0.236/trunk@52989 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1067,7 +1067,7 @@ nsComboboxControlFrame::SelectionChanged()
|
||||
if (NS_SUCCEEDED(rv) && shell) {
|
||||
if (NS_SUCCEEDED(shell->EnterReflowLock())) {
|
||||
shell->AppendReflowCommand(cmd);
|
||||
shell->ExitReflowLock();
|
||||
shell->ExitReflowLock(PR_TRUE, PR_TRUE);
|
||||
}
|
||||
}
|
||||
NS_RELEASE(cmd);
|
||||
|
||||
Reference in New Issue
Block a user