Bug 1430014 - Part 4: #ifdef out unnecessary code when the old style system is not built. r=xidorn

MozReview-Commit-ID: 1FZ9VzjcPzN
This commit is contained in:
Cameron McCormack
2018-02-01 15:04:04 +11:00
parent 2ae503a691
commit 02c617875f
117 changed files with 1316 additions and 190 deletions

View File

@@ -142,7 +142,9 @@ public:
nsIPrincipal* aMaybeScriptedPrincipal,
nsAttrValue& aResult) override;
virtual nsMapRuleToAttributesFunc GetAttributeMappingFunction() const override;
#ifdef MOZ_OLD_STYLE
NS_IMETHOD WalkContentStyleRules(nsRuleWalker* aRuleWalker) override;
#endif
NS_IMETHOD_(bool) IsAttributeMapped(const nsAtom* aAttribute) const override;
// Get mapped attributes of ancestor table, if any
nsMappedAttributes* GetMappedAttributesInheritedFromTable() const;