Bug 1304621 - Remove unused Servo_RestyleDocument. r?manishearth draft
authorCameron McCormack <cam@mcc.id.au>
Thu, 22 Sep 2016 13:39:04 +0800
changeset 416439 8c3902f639a19f90268c584882e2691afb29eae7
parent 416438 d07acc0b279f23d10b8272a564a726d09aac8c76
child 531858 b7f21e8e7229d2b64558e47c343f2712fe29afa1
push id30147
push userbmo:cam@mcc.id.au
push dateThu, 22 Sep 2016 06:21:14 +0000
reviewersmanishearth
bugs1304621
milestone51.0a1
Bug 1304621 - Remove unused Servo_RestyleDocument. r?manishearth MozReview-Commit-ID: 8H0o9aPyrWH
layout/style/ServoBindingList.h
--- a/layout/style/ServoBindingList.h
+++ b/layout/style/ServoBindingList.h
@@ -91,19 +91,17 @@ SERVO_BINDING_FUNC(Servo_Initialize, voi
 // Shut down Servo components. Should be called exactly once at shutdown.
 SERVO_BINDING_FUNC(Servo_Shutdown, void)
 
 // Restyle hints
 SERVO_BINDING_FUNC(Servo_ComputeRestyleHint, nsRestyleHint,
                    RawGeckoElement* element, ServoElementSnapshot* snapshot,
                    RawServoStyleSetBorrowed set)
 
-// Restyle the given document or subtree
-SERVO_BINDING_FUNC(Servo_RestyleDocument, void,
-                   RawGeckoDocumentBorrowed doc, RawServoStyleSetBorrowedMut set)
+// Restyle the given subtree.
 SERVO_BINDING_FUNC(Servo_RestyleSubtree, void,
                    RawGeckoNodeBorrowed node, RawServoStyleSetBorrowedMut set)
 
 // Style-struct management.
 #define STYLE_STRUCT(name, checkdata_cb)                            \
   struct nsStyle##name;                                             \
   SERVO_BINDING_FUNC(Servo_GetStyle##name, const nsStyle##name*,  \
                      ServoComputedValuesBorrowed computed_values)