mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-27 09:37:31 +09:00
patch to Bug 1377329
This commit is contained in:
parent
314e75d5db
commit
ab7ff906f2
2 changed files with 2 additions and 2 deletions
|
|
@ -1096,7 +1096,6 @@ void
|
||||||
nsDisplayListBuilder::MarkFramesForDisplayList(nsIFrame* aDirtyFrame,
|
nsDisplayListBuilder::MarkFramesForDisplayList(nsIFrame* aDirtyFrame,
|
||||||
const nsFrameList& aFrames,
|
const nsFrameList& aFrames,
|
||||||
const nsRect& aDirtyRect) {
|
const nsRect& aDirtyRect) {
|
||||||
mFramesMarkedForDisplay.SetCapacity(mFramesMarkedForDisplay.Length() + aFrames.GetLength());
|
|
||||||
for (nsIFrame* e : aFrames) {
|
for (nsIFrame* e : aFrames) {
|
||||||
// Skip the AccessibleCaret frame when building no caret.
|
// Skip the AccessibleCaret frame when building no caret.
|
||||||
if (!IsBuildingCaret()) {
|
if (!IsBuildingCaret()) {
|
||||||
|
|
@ -1108,6 +1107,7 @@ nsDisplayListBuilder::MarkFramesForDisplayList(nsIFrame* aDirtyFrame,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mFramesMarkedForDisplay.AppendElement(e);
|
mFramesMarkedForDisplay.AppendElement(e);
|
||||||
MarkOutOfFlowFrameForDisplay(aDirtyFrame, e, aDirtyRect);
|
MarkOutOfFlowFrameForDisplay(aDirtyFrame, e, aDirtyRect);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1200,7 +1200,7 @@ private:
|
||||||
PLArenaPool mPool;
|
PLArenaPool mPool;
|
||||||
nsCOMPtr<nsISelection> mBoundingSelection;
|
nsCOMPtr<nsISelection> mBoundingSelection;
|
||||||
AutoTArray<PresShellState,8> mPresShellStates;
|
AutoTArray<PresShellState,8> mPresShellStates;
|
||||||
AutoTArray<nsIFrame*,100> mFramesMarkedForDisplay;
|
AutoTArray<nsIFrame*,400> mFramesMarkedForDisplay;
|
||||||
AutoTArray<ThemeGeometry,2> mThemeGeometries;
|
AutoTArray<ThemeGeometry,2> mThemeGeometries;
|
||||||
nsDisplayTableItem* mCurrentTableItem;
|
nsDisplayTableItem* mCurrentTableItem;
|
||||||
DisplayListClipState mClipState;
|
DisplayListClipState mClipState;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue