From 07c4d7dc13b0ef424ab16a536ac2d7e1ec6a7e90 Mon Sep 17 00:00:00 2001 From: Boris Chiou Date: Tue, 21 Mar 2017 14:29:43 +0800 Subject: [PATCH] Bug 1343153 - Part 3: Replace pointer to const with immutable reference for nsTimingFunction. r=emilio,hiro MozReview-Commit-ID: BcY4mTtCtjn --HG-- extra : rebase_source : c0884e86971bbb50028247b11c4f93ad72babc21 --- layout/style/ServoBindingList.h | 2 +- layout/style/ServoBindingTypes.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/layout/style/ServoBindingList.h b/layout/style/ServoBindingList.h index 203ebec61b74..ac98de4a267d 100644 --- a/layout/style/ServoBindingList.h +++ b/layout/style/ServoBindingList.h @@ -68,7 +68,7 @@ SERVO_BINDING_FUNC(Servo_StyleSet_NoteStyleSheetsChanged, void, SERVO_BINDING_FUNC(Servo_StyleSet_FillKeyframesForName, bool, RawServoStyleSetBorrowed set, const nsACString* property, - const nsTimingFunction* timing_function, + nsTimingFunctionBorrowed timing_function, ServoComputedValuesBorrowed computed_values, RawGeckoKeyframeListBorrowedMut keyframe_list) diff --git a/layout/style/ServoBindingTypes.h b/layout/style/ServoBindingTypes.h index dd7283729a74..95f8f976d9c7 100644 --- a/layout/style/ServoBindingTypes.h +++ b/layout/style/ServoBindingTypes.h @@ -123,6 +123,7 @@ DECL_BORROWED_REF_TYPE_FOR(RawGeckoKeyframeList) DECL_BORROWED_MUT_REF_TYPE_FOR(RawGeckoComputedKeyframeValuesList) DECL_BORROWED_REF_TYPE_FOR(RawGeckoStyleAnimationList) DECL_BORROWED_MUT_REF_TYPE_FOR(nsTimingFunction) +DECL_BORROWED_REF_TYPE_FOR(nsTimingFunction) #undef DECL_ARC_REF_TYPE_FOR #undef DECL_OWNED_REF_TYPE_FOR