Bug 1359217 part 0 - Some fixup for later patches. r=heycam
authorXidorn Quan <me@upsuper.org>
Mon, 19 Jun 2017 15:45:43 +1000
changeset 596546 d36b68e3873e751936b63cd85ee3220f33f07295
parent 596545 302e0f95efed3ca9e693ca67439071eb24b67f16
child 596547 afa17cc4b6fda40bee856fe3eb40929b3d7b1c7f
push id64675
push usermak77@bonardo.net
push dateMon, 19 Jun 2017 12:08:05 +0000
reviewersheycam
bugs1359217
milestone56.0a1
Bug 1359217 part 0 - Some fixup for later patches. r=heycam MozReview-Commit-ID: CHCDf3z2MQ3
layout/style/BindingStyleRule.h
layout/style/ServoStyleRule.h
--- a/layout/style/BindingStyleRule.h
+++ b/layout/style/BindingStyleRule.h
@@ -13,16 +13,19 @@
 /**
  * Shared superclass for mozilla::css::StyleRule and mozilla::ServoStyleRule,
  * for use from bindings code.
  */
 
 class nsICSSDeclaration;
 
 namespace mozilla {
+namespace dom {
+class Element;
+}
 
 class BindingStyleRule : public css::Rule
 {
 protected:
   BindingStyleRule(uint32_t aLineNumber, uint32_t aColumnNumber)
     : css::Rule(aLineNumber, aColumnNumber)
   {
   }
--- a/layout/style/ServoStyleRule.h
+++ b/layout/style/ServoStyleRule.h
@@ -7,16 +7,17 @@
 /* representation of CSSStyleRule for stylo */
 
 #ifndef mozilla_ServoStyleRule_h
 #define mozilla_ServoStyleRule_h
 
 #include "mozilla/BindingStyleRule.h"
 #include "mozilla/ServoBindingTypes.h"
 
+#include "nsICSSStyleRuleDOMWrapper.h"
 #include "nsIDOMCSSStyleRule.h"
 #include "nsICSSStyleRuleDOMWrapper.h"
 #include "nsDOMCSSDeclaration.h"
 
 namespace mozilla {
 
 class ServoDeclarationBlock;
 class ServoStyleRule;