Bug 1352968 part 6 - Remove unused Servo_ImportRule_GetSheet. r=heycam
authorXidorn Quan <me@upsuper.org>
Tue, 30 May 2017 11:10:25 +1000
changeset 361159 dd3c0e2db9cb7f437475e06f810d249e3579ed8f
parent 361158 afe344d438168a0b7ce4bb2a50e679712f7c77e7
child 361160 74b069ba31d6a5c209d0e4e87b5fe439ac4219aa
push id31917
push usercbook@mozilla.com
push dateTue, 30 May 2017 09:14:52 +0000
treeherdermozilla-central@0c712d76d598 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1352968, 1304792, 1352763
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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)