mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +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
|
|
@ -2707,8 +2707,7 @@ nsIFrame::BuildDisplayListForChild(nsDisplayListBuilder* aBuilder,
|
|||
|
||||
// dirty rect in child-relative coordinates
|
||||
NS_ASSERTION(aBuilder->GetCurrentFrame() == this, "Wrong coord space!");
|
||||
nsPoint offset = child->GetOffsetTo(this);
|
||||
nsRect dirty = aBuilder->GetDirtyRect() - offset;
|
||||
nsRect dirty = aBuilder->GetDirtyRect() - child->GetOffsetTo(this);
|
||||
|
||||
if (childType == nsGkAtoms::placeholderFrame) {
|
||||
isPlaceholder = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue