Bug 1406811 - Fix mismatched arguments for Servo_SelectorXXX. r?emilio draft
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Tue, 10 Oct 2017 07:57:34 +0900
changeset 677047 70cff085ef9550539e662d58d26e6af65f911e73
parent 677010 983e70fff385a7adaaf2be4b0ed77f0b5735af54
child 677048 0ddcbdeaa6ecdb40bcc9376cd4321faee4c6ca73
push id83676
push userhikezoe@mozilla.com
push dateMon, 09 Oct 2017 22:58:15 +0000
reviewersemilio
bugs1406811
milestone58.0a1
Bug 1406811 - Fix mismatched arguments for Servo_SelectorXXX. r?emilio MozReview-Commit-ID: 7OgrwTOHTtQ
layout/style/ServoBindingList.h
--- a/layout/style/ServoBindingList.h
+++ b/layout/style/ServoBindingList.h
@@ -125,17 +125,17 @@ SERVO_BINDING_FUNC(Servo_StyleSet_BuildF
                    gfxFontFeatureValueSet*,
                    RawServoStyleSetBorrowed set)
 SERVO_BINDING_FUNC(Servo_StyleSet_ResolveForDeclarations,
                    ServoStyleContextStrong,
                    RawServoStyleSetBorrowed set,
                    ServoStyleContextBorrowedOrNull parent_style,
                    RawServoDeclarationBlockBorrowed declarations)
 SERVO_BINDING_FUNC(Servo_SelectorList_Drop, void,
-                   RawServoSelectorList* selector_list)
+                   RawServoSelectorListOwned selector_list)
 SERVO_BINDING_FUNC(Servo_SelectorList_Parse,
                    RawServoSelectorList*,
                    const nsACString* selector_list)
 SERVO_BINDING_FUNC(Servo_SelectorList_Matches, bool,
                    RawGeckoElementBorrowed, RawServoSelectorListBorrowed)
 SERVO_BINDING_FUNC(Servo_StyleSet_AddSizeOfExcludingThis, void,
                    mozilla::MallocSizeOf malloc_size_of,
                    mozilla::MallocSizeOf malloc_enclosing_size_of,