mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
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:
parent
02a2ebdc30
commit
c4105c2b87
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user