mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
Bug 802902 - Live long and prosper Mr. View Manager. r=roc
This commit is contained in:
parent
c289816360
commit
2c25932a6c
@ -428,7 +428,8 @@ nsRefreshDriver::Notify(nsITimer *aTimer)
|
||||
printf("Starting ProcessPendingUpdates\n");
|
||||
#endif
|
||||
mViewManagerFlushIsPending = false;
|
||||
mPresContext->GetPresShell()->GetViewManager()->ProcessPendingUpdates();
|
||||
nsCOMPtr<nsIViewManager> vm = mPresContext->GetPresShell()->GetViewManager();
|
||||
vm->ProcessPendingUpdates();
|
||||
#ifdef DEBUG_INVALIDATIONS
|
||||
printf("Ending ProcessPendingUpdates\n");
|
||||
#endif
|
||||
|
@ -1027,7 +1027,8 @@ nsView::RequestWindowClose(nsIWidget* aWidget)
|
||||
void
|
||||
nsView::WillPaintWindow(nsIWidget* aWidget, bool aWillSendDidPaint)
|
||||
{
|
||||
mViewManager->WillPaintWindow(aWidget, aWillSendDidPaint);
|
||||
nsCOMPtr<nsViewManager> vm = mViewManager;
|
||||
vm->WillPaintWindow(aWidget, aWillSendDidPaint);
|
||||
}
|
||||
|
||||
bool
|
||||
@ -1043,7 +1044,8 @@ nsView::PaintWindow(nsIWidget* aWidget, nsIntRegion aRegion, uint32_t aFlags)
|
||||
void
|
||||
nsView::DidPaintWindow()
|
||||
{
|
||||
mViewManager->DidPaintWindow();
|
||||
nsCOMPtr<nsViewManager> vm = mViewManager;
|
||||
vm->DidPaintWindow();
|
||||
}
|
||||
|
||||
nsEventStatus
|
||||
|
Loading…
x
Reference in New Issue
Block a user