diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /servo/ports/geckolib/cbindgen.toml | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'servo/ports/geckolib/cbindgen.toml')
-rw-r--r-- | servo/ports/geckolib/cbindgen.toml | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/servo/ports/geckolib/cbindgen.toml b/servo/ports/geckolib/cbindgen.toml index b703dc6c92..8e6818e421 100644 --- a/servo/ports/geckolib/cbindgen.toml +++ b/servo/ports/geckolib/cbindgen.toml @@ -140,6 +140,7 @@ include = [ "ScrollSnapStrictness", "ScrollSnapType", "ScrollTimelineName", + "TransitionBehavior", "ViewTimelineInset", "OverflowAnchor", "OverflowClipBox", @@ -365,9 +366,7 @@ renaming_overrides_prefixing = true "CalcLengthPercentage" = """ inline CSSCoord ResolveToCSSPixels(CSSCoord aBasis) const; - - using CoordRounder = nscoord(*)(float); - nscoord Resolve(nscoord aBasis, CoordRounder) const; + inline nscoord Resolve(nscoord aBasis) const; """ "GenericCalcNode" = """ @@ -428,10 +427,10 @@ renaming_overrides_prefixing = true inline bool IsDefinitelyZero() const; inline CSSCoord ResolveToCSSPixels(CSSCoord aPercentageBasisInCSSPixels) const; template<typename T> inline CSSCoord ResolveToCSSPixelsWith(T aPercentageGetter) const; - template<typename T, typename U> - inline nscoord Resolve(T aPercentageGetter, U aRoundingFunction) const; - template<typename T> - inline nscoord Resolve(nscoord aPercentageBasis, T aRoundingFunction) const; + template<typename T, typename PercentRounder> + inline nscoord Resolve(T aPercentageGetter, PercentRounder) const; + template<typename PercentRounder> + inline nscoord Resolve(nscoord aPercentageBasis, PercentRounder) const; template<typename T> inline nscoord Resolve(T aPercentageGetter) const; inline nscoord Resolve(nscoord aPercentageBasis) const; """ |