Bug 1341102 -Fix forward declaration in nsStyleContext.h; r=bustage
authorManish Goregaokar <manishearth@gmail.com>
Tue, 18 Jul 2017 08:17:35 -0700
changeset 418156 3604eed1eb097a3039a6424e6583b8b5cd827396
parent 418155 5fece381cc9fdf19aeb0850ac47acf37dffcfbcc
child 418157 f47d61c64a1d6e2c69201220957e29720d58a2e7
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1341102
milestone56.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 1341102 -Fix forward declaration in nsStyleContext.h; r=bustage MozReview-Commit-ID: 9RBzxkc9wnA
layout/style/nsStyleContext.h
--- a/layout/style/nsStyleContext.h
+++ b/layout/style/nsStyleContext.h
@@ -21,18 +21,18 @@ class nsPresContext;
 
 namespace mozilla {
 enum class CSSPseudoElementType : uint8_t;
 class GeckoStyleContext;
 class ServoStyleContext;
 } // namespace mozilla
 
 extern "C" {
-  void Servo_StyleContext_AddRef(mozilla::ServoStyleContext* aContext);
-  void Servo_StyleContext_Release(mozilla::ServoStyleContext* aContext);
+  void Servo_StyleContext_AddRef(const mozilla::ServoStyleContext* aContext);
+  void Servo_StyleContext_Release(const mozilla::ServoStyleContext* aContext);
 }
 
 /**
  * An nsStyleContext represents the computed style data for an element.
  * The computed style data are stored in a set of structs (see
  * nsStyleStruct.h) that are cached either on the style context or in
  * the rule tree (see nsRuleNode.h for a description of this caching and
  * how the cached structs are shared).