From c98d07f3f95c4fa762cb881ebafe9140899d961e Mon Sep 17 00:00:00 2001 From: Fernando Jimenez Moreno Date: Thu, 11 May 2017 14:11:16 +0200 Subject: [PATCH] Bug 1361994 - Part 2: Fix build error in ServoCSSRuleList. r=xidorn MozReview-Commit-ID: wiowblsACq --HG-- extra : rebase_source : f679ebfb45fea71b8ed1d2b5b0b09abe221b4736 --- layout/style/ServoCSSRuleList.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layout/style/ServoCSSRuleList.cpp b/layout/style/ServoCSSRuleList.cpp index 606ca14c3554..368d29679fc2 100644 --- a/layout/style/ServoCSSRuleList.cpp +++ b/layout/style/ServoCSSRuleList.cpp @@ -14,6 +14,7 @@ #include "mozilla/ServoNamespaceRule.h" #include "mozilla/ServoPageRule.h" #include "mozilla/ServoSupportsRule.h" +#include "nsCSSFontFaceRule.h" namespace mozilla { @@ -217,7 +218,7 @@ ServoCSSRuleList::FillStyleRuleHashtable(StyleRuleHashtable& aTable) aTable.Put(rawRule, castedRule); } else if (type == nsIDOMCSSRule::MEDIA_RULE || type == nsIDOMCSSRule::SUPPORTS_RULE) { - GroupRule* castedRule = static_cast(GetRule(i)); + css::GroupRule* castedRule = static_cast(GetRule(i)); // Call this method recursively on the ServoCSSRuleList in the rule. ServoCSSRuleList* castedRuleList = static_cast(