summaryrefslogtreecommitdiff
path: root/gfx/src/nsRegion.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/src/nsRegion.h')
-rw-r--r--gfx/src/nsRegion.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/src/nsRegion.h b/gfx/src/nsRegion.h
index e4ad5fc8a0..143be356e6 100644
--- a/gfx/src/nsRegion.h
+++ b/gfx/src/nsRegion.h
@@ -296,9 +296,9 @@ public:
* @param aToAPP the APP to scale to
* @note this can turn an empty region into a non-empty region
*/
- MOZ_MUST_USE nsRegion
+ [[nodiscard]] nsRegion
ScaleToOtherAppUnitsRoundOut (int32_t aFromAPP, int32_t aToAPP) const;
- MOZ_MUST_USE nsRegion
+ [[nodiscard]] nsRegion
ScaleToOtherAppUnitsRoundIn (int32_t aFromAPP, int32_t aToAPP) const;
nsRegion& ScaleRoundOut(float aXScale, float aYScale);
nsRegion& ScaleInverseRoundOut(float aXScale, float aYScale);