Bug 1657941 - Log the first paint in PresShell::Paint, r=froydnj

Differential Revision: https://phabricator.services.mozilla.com/D86737
This commit is contained in:
Honza Bambas
2020-08-13 14:39:45 +00:00
parent c45674152e
commit 2e47661faf

View File

@@ -6259,6 +6259,9 @@ void PresShell::Paint(nsView* aViewToPaint, const nsRegion& aDirtyRegion,
// to configure the viewport and we only want to do that when we have
// real content to paint. See Bug 798245
if (mIsFirstPaint && !mPaintingSuppressed) {
MOZ_LOG(gLog, LogLevel::Debug,
("PresShell::Paint, first paint, this=%p", this));
layerManager->SetIsFirstPaint();
mIsFirstPaint = false;
}