зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1442146 - Fix jiggle during resizing on Windows r=nical
This commit is contained in:
Родитель
acef52f8d3
Коммит
a765f2b7e0
|
@ -388,6 +388,7 @@ bool nsWindow::OnPaint(HDC aDC, uint32_t aNestingLevel)
|
|||
}
|
||||
break;
|
||||
case LayersBackend::LAYERS_CLIENT:
|
||||
case LayersBackend::LAYERS_WR:
|
||||
{
|
||||
result = listener->PaintWindow(
|
||||
this, LayoutDeviceIntRegion::FromUnknownRegion(region));
|
||||
|
@ -398,11 +399,6 @@ bool nsWindow::OnPaint(HDC aDC, uint32_t aNestingLevel)
|
|||
}
|
||||
}
|
||||
break;
|
||||
case LayersBackend::LAYERS_WR:
|
||||
{
|
||||
GetLayerManager()->ScheduleComposite();
|
||||
break;
|
||||
}
|
||||
default:
|
||||
NS_ERROR("Unknown layers backend used!");
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче