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
--- 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)