mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 508665 - part 14, uninline nsIFrame::GetPositionIgnoringScrolling() (since it uses a nsContainerFrame method). r=roc
This commit is contained in:
parent
a31b2b6b65
commit
2015c893ab
@ -5184,6 +5184,13 @@ nsIFrame::GetNormalPosition() const
|
||||
return GetPosition();
|
||||
}
|
||||
|
||||
nsPoint
|
||||
nsIFrame::GetPositionIgnoringScrolling()
|
||||
{
|
||||
return GetParent() ? GetParent()->GetPositionOfChildIgnoringScrolling(this)
|
||||
: GetPosition();
|
||||
}
|
||||
|
||||
nsRect
|
||||
nsIFrame::GetOverflowRect(nsOverflowType aType) const
|
||||
{
|
||||
|
@ -743,10 +743,7 @@ public:
|
||||
virtual nsPoint GetPositionOfChildIgnoringScrolling(nsIFrame* aChild)
|
||||
{ return aChild->GetPosition(); }
|
||||
|
||||
nsPoint GetPositionIgnoringScrolling() {
|
||||
return mParent ? mParent->GetPositionOfChildIgnoringScrolling(this)
|
||||
: GetPosition();
|
||||
}
|
||||
nsPoint GetPositionIgnoringScrolling();
|
||||
|
||||
static void DestroyRegion(void* aPropertyValue);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user