Bug 1304621 - Remove unused Servo_RestyleDocument. r?manishearth
MozReview-Commit-ID: 8H0o9aPyrWH
--- 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)