Bug 1769900 - Add more logs of window size sanity check around nsWindow r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D146658
This commit is contained in:
@@ -78,8 +78,7 @@ bool WebRenderLayerManager::Initialize(
|
||||
|
||||
LayoutDeviceIntSize size = mWidget->GetClientSize();
|
||||
// Check widget size
|
||||
if (size.width < 0 || size.width > wr::MAX_RENDER_TASK_SIZE ||
|
||||
size.height < 0 || size.height > wr::MAX_RENDER_TASK_SIZE) {
|
||||
if (!wr::WindowSizeSanityCheck(size.width, size.height)) {
|
||||
gfxCriticalNoteOnce << "Widget size is not valid " << size
|
||||
<< " isParent: " << XRE_IsParentProcess();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user