Bug 1571253 - Call mProfilerScreenshotGrabber.NotifyEmptyFrame() in the main place where no-op composites are noticed. r=mattwoodrow

There's another call inside Render() but that's usually too late.

Depends on D40558

Differential Revision: https://phabricator.services.mozilla.com/D40559

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Markus Stange 2019-08-04 20:37:28 +00:00
Родитель 901919b119
Коммит c33b29cfbb
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -591,6 +591,7 @@ void LayerManagerComposite::UpdateAndRender() {
if (invalid.IsEmpty() && !mWindowOverlayChanged) {
// Composition requested, but nothing has changed. Don't do any work.
mClonedLayerTreeProperties = LayerProperties::CloneFrom(GetRoot());
mProfilerScreenshotGrabber.NotifyEmptyFrame();
return;
}