summaryrefslogtreecommitdiff
path: root/layout/generic/nsIFrame.h
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/nsIFrame.h')
-rw-r--r--layout/generic/nsIFrame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/layout/generic/nsIFrame.h b/layout/generic/nsIFrame.h
index 1c5dbbe9ac..db95478bd0 100644
--- a/layout/generic/nsIFrame.h
+++ b/layout/generic/nsIFrame.h
@@ -861,6 +861,7 @@ public:
} else {
mRect = aRect;
}
+ MaybeNotifyScrollAnchor();
}
/**
* Set this frame's rect from a logical rect in its own writing direction
@@ -922,6 +923,7 @@ public:
// the top right of the frame instead of the top left.
mRect.MoveTo(aPt.GetPhysicalPoint(aWritingMode,
aContainerSize - mRect.Size()));
+ MaybeNotifyScrollAnchor();
}
/**
@@ -2742,6 +2744,8 @@ public:
const nsRect* aFrameDamageRect = nullptr,
uint32_t aFlags = 0);
+ void MaybeNotifyScrollAnchor();
+
/**
* Returns a rect that encompasses everything that might be painted by
* this frame. This includes this frame, all its descendant frames, this