mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-20 06:07:30 +09:00
import changes from win7-7/UXP:
bug1347737, bug1365982, bug1367206
This commit is contained in:
parent
c2b2ce2c5c
commit
0f035317a3
96 changed files with 1525 additions and 1329 deletions
|
|
@ -72,6 +72,11 @@ public:
|
|||
// WillDestroyFrameTree hasn't been called yet.
|
||||
void NotifyDestroyingFrame(nsIFrame* aFrame) {
|
||||
mOverflowChangedTracker.RemoveFrame(aFrame);
|
||||
// If ProcessRestyledFrames is tracking frames which have been
|
||||
// destroyed (to avoid re-visiting them), add this one to its set.
|
||||
if (mDestroyedFrames) {
|
||||
mDestroyedFrames->PutEntry(aFrame);
|
||||
}
|
||||
}
|
||||
|
||||
// Note: It's the caller's responsibility to make sure to wrap a
|
||||
|
|
@ -127,6 +132,12 @@ private:
|
|||
nsPresContext* mPresContext; // weak, can be null after Disconnect().
|
||||
uint32_t mRestyleGeneration;
|
||||
uint32_t mHoverGeneration;
|
||||
|
||||
// Used to keep track of frames that have been destroyed during
|
||||
// ProcessRestyledFrames, so we don't try to touch them again even if
|
||||
// they're referenced again later in the changelist.
|
||||
mozilla::UniquePtr<nsTHashtable<nsPtrHashKey<const nsIFrame>>> mDestroyedFrames;
|
||||
|
||||
// True if we're already waiting for a refresh notification.
|
||||
bool mObservingRefreshDriver;
|
||||
|
||||
|
|
@ -146,7 +157,7 @@ protected:
|
|||
GetNearestAncestorFrame(nsIContent* aContent);
|
||||
|
||||
static nsIFrame*
|
||||
GetNextBlockInInlineSibling(FramePropertyTable* aPropTable, nsIFrame* aFrame);
|
||||
GetNextBlockInInlineSibling(nsIFrame* aFrame);
|
||||
|
||||
/**
|
||||
* Get the next continuation or similar ib-split sibling (assuming
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue