diff options
Diffstat (limited to 'gfx/src/nsPoint.h')
-rw-r--r-- | gfx/src/nsPoint.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gfx/src/nsPoint.h b/gfx/src/nsPoint.h index b377eb5a56..3c406e5a61 100644 --- a/gfx/src/nsPoint.h +++ b/gfx/src/nsPoint.h @@ -35,12 +35,12 @@ struct nsPoint : public mozilla::gfx::BasePoint<nscoord, nsPoint> { * @param aFromAPP the APP to scale from * @param aToAPP the APP to scale to */ - MOZ_MUST_USE inline nsPoint + [[nodiscard]] inline nsPoint ScaleToOtherAppUnits(int32_t aFromAPP, int32_t aToAPP) const; - MOZ_MUST_USE inline nsPoint + [[nodiscard]] inline nsPoint RemoveResolution(const float resolution) const; - MOZ_MUST_USE inline nsPoint + [[nodiscard]] inline nsPoint ApplyResolution(const float resolution) const; }; |