зеркало из https://github.com/mozilla/gecko-dev.git
Bug 802902 - Live long and prosper Mr. View Manager. r=roc
This commit is contained in:
Родитель
c289816360
Коммит
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче