зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1361994 - Part 2: Fix build error in ServoCSSRuleList. r=xidorn
MozReview-Commit-ID: wiowblsACq --HG-- extra : rebase_source : f679ebfb45fea71b8ed1d2b5b0b09abe221b4736
This commit is contained in:
Родитель
74d09d6ab3
Коммит
c98d07f3f9
|
@ -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<GroupRule*>(GetRule(i));
|
||||
css::GroupRule* castedRule = static_cast<css::GroupRule*>(GetRule(i));
|
||||
|
||||
// Call this method recursively on the ServoCSSRuleList in the rule.
|
||||
ServoCSSRuleList* castedRuleList = static_cast<ServoCSSRuleList*>(
|
||||
|
|
Загрузка…
Ссылка в новой задаче