Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed. Bug 144072, r+sr=jst git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -169,7 +169,7 @@ inLayoutUtils::GetScreenOrigin(nsIDOMElement* aElement)
|
||||
|
||||
if (presShell) {
|
||||
// Flush all pending notifications so that our frames are uptodate
|
||||
presShell->FlushPendingNotifications(PR_FALSE);
|
||||
doc->FlushPendingNotifications(Flush_Layout);
|
||||
|
||||
nsCOMPtr<nsIPresContext> presContext;
|
||||
presShell->GetPresContext(getter_AddRefs(presContext));
|
||||
|
||||
Reference in New Issue
Block a user