Bug 1406811 - Fix mismatched arguments for Servo_SelectorXXX. r=emilio
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Tue, 10 Oct 2017 07:57:34 +0900
changeset 385293 0a994a272856a96334e3a83eff31ba095e5bdf29
parent 385292 cfad21da17dd4204b6c0ac6975e6a9bf40fa3b40
child 385294 5ccff8bf69d68a68414a6b4714c0ec7266ee966c
push id32652
push userarchaeopteryx@coole-files.de
push dateTue, 10 Oct 2017 21:49:31 +0000
treeherdermozilla-central@f1ecd5c26948 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
bugs1406811
milestone58.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 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,