Bug 1352968 part 6 - Remove unused Servo_ImportRule_GetSheet. r=heycam draft
authorXidorn Quan <me@upsuper.org>
Tue, 02 May 2017 11:32:13 +0800
changeset 586231 3f7f683b64f42d22a09138cfe01d8ca42d435aa3
parent 586230 b9b78672249f390d56d71fa46dfa4b4cd49ef182
child 586232 1895bd31f6c88e1be8c710910dec6e773d1a233d
push id61334
push userxquan@mozilla.com
push dateTue, 30 May 2017 01:07:29 +0000
reviewersheycam
bugs1352968, 1304792, 1352763
milestone55.0a1
Bug 1352968 part 6 - Remove unused Servo_ImportRule_GetSheet. r=heycam This function was initially added in bug 1304792, but its only usage was later removed in bug 1352763. The name conflicts with another function (which basically does the same thing without refcount manipulation) I'm adding in a later patch, so I have to remove it first. MozReview-Commit-ID: 6fO4EDJUg7R
layout/style/ServoBindingList.h
--- a/layout/style/ServoBindingList.h
+++ b/layout/style/ServoBindingList.h
@@ -28,19 +28,16 @@ SERVO_BINDING_FUNC(Servo_StyleSheet_From
                    mozilla::css::Loader* loader,
                    mozilla::ServoStyleSheet* gecko_stylesheet,
                    const nsACString* data,
                    mozilla::css::SheetParsingMode parsing_mode,
                    const RawServoMediaList* media_list,
                    RawGeckoURLExtraData* extra_data,
                    uint32_t line_number_offset,
                    nsCompatibility quirks_mode)
-SERVO_BINDING_FUNC(Servo_ImportRule_GetSheet,
-                   RawServoStyleSheetStrong,
-                   const RawServoImportRuleBorrowed import_rule)
 SERVO_BINDING_FUNC(Servo_StyleSheet_ClearAndUpdate,
                    void,
                    RawServoStyleSheetBorrowed stylesheet,
                    mozilla::css::Loader* loader,
                    mozilla::ServoStyleSheet* gecko_stylesheet,
                    const nsACString* data,
                    RawGeckoURLExtraData* extra_data,
                    uint32_t line_number_offset)