зеркало из https://github.com/mozilla/gecko-dev.git
Bug 801212. Fix PaintWindow signature so it actually overrides the intended function. r=enndeakin
This commit is contained in:
Родитель
2a4a0dfdaf
Коммит
c3e7ead5e4
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче