From a765f2b7e04e17ba82a08756a8fa22010f0a1c60 Mon Sep 17 00:00:00 2001 From: sotaro Date: Mon, 5 Mar 2018 21:31:02 +0900 Subject: [PATCH] Bug 1442146 - Fix jiggle during resizing on Windows r=nical --- widget/windows/nsWindowGfx.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/widget/windows/nsWindowGfx.cpp b/widget/windows/nsWindowGfx.cpp index d6aee3fda59a..c8ef2af2ff24 100644 --- a/widget/windows/nsWindowGfx.cpp +++ b/widget/windows/nsWindowGfx.cpp @@ -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;