Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky

This commit is contained in:
roc+%cs.cmu.edu 2004-10-09 02:02:04 +00:00
Родитель 02a2ebdc30
Коммит c4105c2b87
2 изменённых файлов: 2 добавлений и 12 удалений

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

@ -1081,12 +1081,7 @@ public:
struct RestyleEvent : public PLEvent {
RestyleEvent(nsCSSFrameConstructor* aConstructor);
~RestyleEvent() { }
void HandleEvent() {
nsCSSFrameConstructor* constructor =
NS_STATIC_CAST(nsCSSFrameConstructor*, owner);
constructor->ProcessPendingRestyles();
constructor->mRestyleEventQueue = nsnull;
}
void HandleEvent();
};
protected:

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

@ -1081,12 +1081,7 @@ public:
struct RestyleEvent : public PLEvent {
RestyleEvent(nsCSSFrameConstructor* aConstructor);
~RestyleEvent() { }
void HandleEvent() {
nsCSSFrameConstructor* constructor =
NS_STATIC_CAST(nsCSSFrameConstructor*, owner);
constructor->ProcessPendingRestyles();
constructor->mRestyleEventQueue = nsnull;
}
void HandleEvent();
};
protected: