From d5356f5f67d2d7f6ebd727a72945c2c3645d38ef Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Wed, 23 Nov 2016 11:18:24 +1100 Subject: [PATCH] Bug 1307357 followup 2 - Add AddRef/Release bindings to ServoBindingList. MozReview-Commit-ID: 8U55TaPvAhs --HG-- extra : amend_source : 6b5ec55ef9eb94e0bc93394dd862b03e1bb1af0a --- layout/style/ServoBindingList.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layout/style/ServoBindingList.h b/layout/style/ServoBindingList.h index 59eb22e16da0..3ee3f53e4ccd 100644 --- a/layout/style/ServoBindingList.h +++ b/layout/style/ServoBindingList.h @@ -52,6 +52,8 @@ SERVO_BINDING_FUNC(Servo_StyleSet_InsertStyleSheetBefore, void, RawServoStyleSheetBorrowed reference) // CSSRuleList +SERVO_BINDING_FUNC(Servo_CssRules_AddRef, void, ServoCssRulesBorrowed rules) +SERVO_BINDING_FUNC(Servo_CssRules_Release, void, ServoCssRulesBorrowed rules) SERVO_BINDING_FUNC(Servo_CssRules_ListTypes, void, ServoCssRulesBorrowed rules, nsTArrayBorrowed_uintptr_t result) @@ -59,6 +61,10 @@ SERVO_BINDING_FUNC(Servo_CssRules_GetStyleRuleAt, RawServoStyleRuleStrong, ServoCssRulesBorrowed rules, uint32_t index) // CSS Rules +SERVO_BINDING_FUNC(Servo_StyleRule_AddRef, void, + RawServoStyleRuleBorrowed rule) +SERVO_BINDING_FUNC(Servo_StyleRule_Release, void, + RawServoStyleRuleBorrowed rule) SERVO_BINDING_FUNC(Servo_StyleRule_Debug, void, RawServoStyleRuleBorrowed rule, nsACString* result) SERVO_BINDING_FUNC(Servo_StyleRule_GetStyle, RawServoDeclarationBlockStrong,