Bug 801212. Fix PaintWindow signature so it actually overrides the intended function. r=enndeakin

This commit is contained in:
Timothy Nikkel 2012-12-15 13:57:36 -06:00
Родитель 2a4a0dfdaf
Коммит c3e7ead5e4
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1697,7 +1697,7 @@ void nsWebBrowser::WindowLowered(nsIWidget* aWidget)
Deactivate();
}
bool nsWebBrowser::PaintWindow(nsIWidget* aWidget, bool isRequest, nsIntRegion aRegion, bool aWillSendDidPaint)
bool nsWebBrowser::PaintWindow(nsIWidget* aWidget, nsIntRegion aRegion, uint32_t aFlags)
{
LayerManager* layerManager = aWidget->GetLayerManager();
NS_ASSERTION(layerManager, "Must be in paint event");

Просмотреть файл

@ -124,7 +124,7 @@ protected:
// nsIWidgetListener
virtual void WindowRaised(nsIWidget* aWidget);
virtual void WindowLowered(nsIWidget* aWidget);
virtual bool PaintWindow(nsIWidget* aWidget, bool isRequest, nsIntRegion aRegion, bool aWillSendDidPaint);
virtual bool PaintWindow(nsIWidget* aWidget, nsIntRegion aRegion, uint32_t aFlags) MOZ_OVERRIDE;
protected:
nsDocShellTreeOwner* mDocShellTreeOwner;