mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bug 1275766 - Stub out nsPresContext::HasAuthorSpecifiedRules. r=heycam
This commit is contained in:
parent
8021dc9a73
commit
8f26af0110
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user