diff options
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; """ |