diff --git a/components/script/dom/bytelengthqueuingstrategy.rs b/components/script/dom/bytelengthqueuingstrategy.rs index b4916879c7f..6ebffe81314 100644 --- a/components/script/dom/bytelengthqueuingstrategy.rs +++ b/components/script/dom/bytelengthqueuingstrategy.rs @@ -62,7 +62,7 @@ impl ByteLengthQueuingStrategyMethods for ByteLengthQueuin } /// - fn GetSize(&self) -> Fallible> { + fn GetSize(&self, _can_gc: CanGc) -> Fallible> { let global = self.global(); // Return this's relevant global object's byte length queuing strategy // size function. diff --git a/components/script_bindings/codegen/Bindings.conf b/components/script_bindings/codegen/Bindings.conf index 4cf1e8fa039..f5e61114a4b 100644 --- a/components/script_bindings/codegen/Bindings.conf +++ b/components/script_bindings/codegen/Bindings.conf @@ -66,6 +66,10 @@ DOMInterfaces = { 'canGc': ['GetCharacteristic', 'GetCharacteristics', 'GetIncludedService', 'GetIncludedServices'], }, +'ByteLengthQueuingStrategy': { + 'canGc': ['GetSize'], +}, + 'CanvasGradient': { 'canGc': ['AddColorStop'], },