зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1741352 - Relax widget size log in WebRenderLayerManager::Initialize() r=gfx-reviewers,bradwerth
We also want a size check log in content process. Differential Revision: https://phabricator.services.mozilla.com/D131210
This commit is contained in:
Родитель
2d8ab09b73
Коммит
a125f95885
|
@ -78,10 +78,10 @@ bool WebRenderLayerManager::Initialize(
|
|||
|
||||
LayoutDeviceIntSize size = mWidget->GetClientSize();
|
||||
// Check widget size
|
||||
if (XRE_IsParentProcess() &&
|
||||
(size.width < 0 || size.width > wr::MAX_RENDER_TASK_SIZE ||
|
||||
size.height < 0 || size.height > wr::MAX_RENDER_TASK_SIZE)) {
|
||||
gfxCriticalNote << "Widget size is not valid " << size;
|
||||
if (size.width < 0 || size.width > wr::MAX_RENDER_TASK_SIZE ||
|
||||
size.height < 0 || size.height > wr::MAX_RENDER_TASK_SIZE) {
|
||||
gfxCriticalNoteOnce << "Widget size is not valid " << size
|
||||
<< " isParent: " << XRE_IsParentProcess();
|
||||
}
|
||||
|
||||
PWebRenderBridgeChild* bridge =
|
||||
|
|
Загрузка…
Ссылка в новой задаче