зеркало из https://github.com/mozilla/pjs.git
Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all.
This commit is contained in:
Родитель
02d31876a2
Коммит
4457ddff83
|
@ -220,7 +220,7 @@ inLayoutUtils::GetScreenOrigin(nsIDOMElement* aElement)
|
||||||
|
|
||||||
if (presShell) {
|
if (presShell) {
|
||||||
// Flush all pending notifications so that our frames are uptodate
|
// Flush all pending notifications so that our frames are uptodate
|
||||||
presShell->FlushPendingNotifications();
|
presShell->FlushPendingNotifications(PR_FALSE);
|
||||||
|
|
||||||
nsCOMPtr<nsIPresContext> presContext;
|
nsCOMPtr<nsIPresContext> presContext;
|
||||||
presShell->GetPresContext(getter_AddRefs(presContext));
|
presShell->GetPresContext(getter_AddRefs(presContext));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче