Bug 1275766 - Stub out nsPresContext::HasAuthorSpecifiedRules. r=heycam

This commit is contained in:
Bobby Holley 2016-05-24 19:53:41 -07:00
parent 8021dc9a73
commit 8f26af0110

View File

@ -2032,6 +2032,12 @@ nsPresContext::UpdateIsChrome()
nsPresContext::HasAuthorSpecifiedRules(const nsIFrame *aFrame,
uint32_t ruleTypeMask) const
{
#ifdef MOZ_STYLO
if (!mShell || mShell->StyleSet()->IsServo()) {
NS_ERROR("stylo: nsPresContext::HasAuthorSpecifiedRules not implemented");
return true;
}
#endif
return
nsRuleNode::HasAuthorSpecifiedRules(aFrame->StyleContext(),
ruleTypeMask,