зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1084672. Call NotifyDidPaint from the refresh driver to ensure it gets called regardless of whether OMTC is used or not. r=mattwoodrow
--HG-- extra : rebase_source : 51cc908538bd127c0af9089ae92aa82146032015
This commit is contained in:
Родитель
33d6ca45fb
Коммит
5fbde2a977
|
@ -8803,10 +8803,6 @@ PresShell::DidPaintWindow()
|
|||
// about compositing of popups.
|
||||
return;
|
||||
}
|
||||
|
||||
if (nsContentUtils::XPConnect()) {
|
||||
nsContentUtils::XPConnect()->NotifyDidPaint();
|
||||
}
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
@ -1362,6 +1362,10 @@ nsRefreshDriver::Tick(int64_t aNowEpoch, TimeStamp aNowTime)
|
|||
TRACING_INTERVAL_END);
|
||||
}
|
||||
profiler_tracing("Paint", "DisplayList", TRACING_INTERVAL_END);
|
||||
|
||||
if (nsContentUtils::XPConnect()) {
|
||||
nsContentUtils::XPConnect()->NotifyDidPaint();
|
||||
}
|
||||
}
|
||||
|
||||
for (uint32_t i = 0; i < mPostRefreshObservers.Length(); ++i) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче