mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
Bug 1729236 - Remove GetPaintRect. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D124590
This commit is contained in:
parent
d84885ee2a
commit
0b4541468e
@ -2936,10 +2936,8 @@ class nsDisplayItem : public nsDisplayItemLink {
|
||||
virtual Maybe<nsRect> GetClipWithRespectToASR(
|
||||
nsDisplayListBuilder* aBuilder, const ActiveScrolledRoot* aASR) const;
|
||||
|
||||
const nsRect& GetPaintRect() const { return mBuildingRect; }
|
||||
|
||||
virtual const nsRect& GetUntransformedPaintRect() const {
|
||||
return GetPaintRect();
|
||||
return GetBuildingRect();
|
||||
}
|
||||
|
||||
nsRect GetPaintRect(nsDisplayListBuilder* aBuilder, gfxContext* aCtx);
|
||||
@ -6465,11 +6463,6 @@ class nsDisplayTransform : public nsPaintedDisplayItem {
|
||||
return UntransformRect(aBuilder, GetBuildingRect(), aOutRect);
|
||||
}
|
||||
|
||||
bool UntransformPaintRect(nsDisplayListBuilder* aBuilder,
|
||||
nsRect* aOutRect) const {
|
||||
return UntransformRect(aBuilder, GetPaintRect(), aOutRect);
|
||||
}
|
||||
|
||||
static gfx::Point3D GetDeltaToTransformOrigin(const nsIFrame* aFrame,
|
||||
TransformReferenceBox&,
|
||||
float aAppUnitsPerPixel);
|
||||
|
Loading…
Reference in New Issue
Block a user