diff --git a/servo/ports/geckolib/cbindgen.toml b/servo/ports/geckolib/cbindgen.toml
index 10c0c702dbad97d5e73d84e2c913a3541380c4dd..2291871e58ae259f3bc3d573eb32e7cb47cc8953 100644
--- a/servo/ports/geckolib/cbindgen.toml
+++ b/servo/ports/geckolib/cbindgen.toml
@@ -673,9 +673,9 @@ renaming_overrides_prefixing = true
   nscolor CalcColor(const nsIFrame*) const;
   /**
    * Compute the final color, taking into account the foreground color from the
-   * style.
+   * style. The frame, when supplied, is used to resolve Zen boosts.
    */
-  nscolor CalcColor(const ComputedStyle&) const;
+  nscolor CalcColor(const ComputedStyle&, const nsIFrame*) const;
   /**
    * Compute the final color, making the argument the foreground color.
    */
@@ -698,9 +698,11 @@ renaming_overrides_prefixing = true
 
   /**
    * Convert this color to an nscolor. The color will be converted to sRGB first
-   * if required.
+   * if required. The frame, when supplied, is used to resolve Zen boosts; pass
+   * the frame the color is being resolved for so boosts can be derived from its
+   * document, or null to skip boost resolution.
    */
-  nscolor ToColor() const;
+  nscolor ToColor(const nsIFrame*) const;
 """
 
 "ColorFunction" = """
