summaryrefslogtreecommitdiffstats
path: root/layout/base/nsDisplayList.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-02-03 08:34:51 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-02-03 08:34:51 +0100
commit23f587278abc939b5499e51863e3e63619be8a95 (patch)
tree94d51331f38585695339742e26c0b1498d32abaf /layout/base/nsDisplayList.h
parent9a8a050294414a7d248a4ec872744b43e1b9bfb1 (diff)
parent4874970d329943e08bcca7c61e7b7d2bc0f7c9d3 (diff)
downloadUXP-23f587278abc939b5499e51863e3e63619be8a95.tar
UXP-23f587278abc939b5499e51863e3e63619be8a95.tar.gz
UXP-23f587278abc939b5499e51863e3e63619be8a95.tar.lz
UXP-23f587278abc939b5499e51863e3e63619be8a95.tar.xz
UXP-23f587278abc939b5499e51863e3e63619be8a95.zip
Merge branch 'master' of https://github.com/MoonchildProductions/UXP
Diffstat (limited to 'layout/base/nsDisplayList.h')
-rw-r--r--layout/base/nsDisplayList.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/layout/base/nsDisplayList.h b/layout/base/nsDisplayList.h
index 9603a95b8..c9f773f5b 100644
--- a/layout/base/nsDisplayList.h
+++ b/layout/base/nsDisplayList.h
@@ -2713,6 +2713,8 @@ private:
*/
class nsDisplayBackgroundImage : public nsDisplayImageContainer {
public:
+ typedef mozilla::StyleGeometryBox StyleGeometryBox;
+
/**
* aLayer signifies which background layer this item represents.
* aIsThemed should be the value of aFrame->IsThemed.
@@ -2790,8 +2792,10 @@ public:
virtual already_AddRefed<imgIContainer> GetImage() override;
virtual nsRect GetDestRect() override;
- static nsRegion GetInsideClipRegion(nsDisplayItem* aItem, uint8_t aClip,
- const nsRect& aRect, const nsRect& aBackgroundRect);
+ static nsRegion GetInsideClipRegion(nsDisplayItem* aItem,
+ StyleGeometryBox aClip,
+ const nsRect& aRect,
+ const nsRect& aBackgroundRect);
virtual bool ShouldFixToViewport(nsDisplayListBuilder* aBuilder) override;