mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Issue #1355 - Fix the nit, remove nsPoint offset in nsFrame.cpp and change PresShellState member order
This commit is contained in:
parent
9c783146b2
commit
e87c06beb3
3 changed files with 3 additions and 5 deletions
|
|
@ -882,8 +882,7 @@ void nsDisplayListBuilder::MarkOutOfFlowFrameForDisplay(nsIFrame* aDirtyFrame,
|
|||
}
|
||||
}
|
||||
|
||||
nsPoint offset = aFrame->GetOffsetTo(aDirtyFrame);
|
||||
nsRect dirty = dirtyRectRelativeToDirtyFrame - offset;
|
||||
nsRect dirty = dirtyRectRelativeToDirtyFrame - aFrame->GetOffsetTo(aDirtyFrame);
|
||||
nsRect overflowRect = aFrame->GetVisualOverflowRect();
|
||||
|
||||
if (aFrame->IsTransformed() &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue