зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1729236 - Remove GetPaintRect. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D124590
This commit is contained in:
Родитель
d84885ee2a
Коммит
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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче