Bug 1403030 - stylo: Followup for another missing const. r=me
authorCameron McCormack <cam@mcc.id.au>
Tue, 26 Sep 2017 10:21:37 +0800
changeset 670390 45cfb2a32cdeb11ae859ce02e8e3ed8522c0c494
parent 670389 6be6a2554828bdcff82092ae8de1e2426b6e9632
child 670391 bd58666900918c0fe04c668f6c94b0f6853623ce
push id81613
push userbmo:nchevobbe@mozilla.com
push dateTue, 26 Sep 2017 10:17:11 +0000
reviewersme
bugs1403030
milestone58.0a1
Bug 1403030 - stylo: Followup for another missing const. r=me
layout/style/ServoBindingList.h
--- a/layout/style/ServoBindingList.h
+++ b/layout/style/ServoBindingList.h
@@ -661,17 +661,17 @@ SERVO_BINDING_FUNC(Servo_ProcessInvalida
                    RawGeckoElementBorrowed element,
                    const mozilla::ServoElementSnapshotTable* snapshots)
 
 
 SERVO_BINDING_FUNC(Servo_HasPendingRestyleAncestor, bool,
                    RawGeckoElementBorrowed element)
 
 SERVO_BINDING_FUNC(Servo_GetArcStringData, void,
-                   const RustString*, uint8_t** chars, uint32_t* len);
+                   const RustString*, uint8_t const** chars, uint32_t* len);
 SERVO_BINDING_FUNC(Servo_ReleaseArcStringData, void,
                    const mozilla::ServoRawOffsetArc<RustString>* string);
 SERVO_BINDING_FUNC(Servo_CloneArcStringData, mozilla::ServoRawOffsetArc<RustString>,
                    const mozilla::ServoRawOffsetArc<RustString>* string);
 
 // AddRef / Release functions
 #define SERVO_ARC_TYPE(name_, type_)                                \
   SERVO_BINDING_FUNC(Servo_##name_##_AddRef, void, type_##Borrowed) \