Bug 1657941 - Log the first paint in PresShell::Paint, r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D86737
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user