Bug 514992 - Remove nsIWidget::Invalidate(PRBool aIsSynchronous). r=roc

This commit is contained in:
Markus Stange
2009-09-08 09:53:36 +12:00
parent 56f3878d85
commit 780ce62ea5
16 changed files with 10 additions and 160 deletions

View File

@@ -634,22 +634,6 @@ nsWindow::SetCursor(imgIContainer* aCursor,
return rv;
}
NS_IMETHODIMP
nsWindow::Invalidate(PRBool aIsSynchronous)
{
LOGDRAW(("Invalidate (all) [%p]: \n", (void *)this));
if (!mWidget)
return NS_OK;
if (aIsSynchronous && !mWidget->paintingActive())
mWidget->repaint();
else
mWidget->update();
return NS_OK;
}
NS_IMETHODIMP
nsWindow::Invalidate(const nsIntRect &aRect,
PRBool aIsSynchronous)