Bug 551045 - Widget Qt ::Update causing unexpected repaints and rendering lags during scroll. r=dougt

This commit is contained in:
Oleg Romashin
2010-03-10 16:37:36 +02:00
parent b9852499d7
commit 6f76c4ce71

View File

@@ -663,13 +663,6 @@ nsWindow::Invalidate(const nsIntRect &aRect,
NS_IMETHODIMP
nsWindow::Update()
{
if (!mWidget)
return NS_OK;
// Just proceed all pending paints
if (GetViewWidget())
GetViewWidget()->repaint();
return NS_OK;
}