Bug 514992 - Remove nsIWidget::Invalidate(PRBool aIsSynchronous). r=roc
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user