Bug 1419709 - Move a few nsStyleStructID-related static methods out of nsRuleNode.h r=emilio

MozReview-Commit-ID: GyEMmvlH4mh
This commit is contained in:
Cameron McCormack
2017-11-22 18:08:33 +08:00
parent 7a3fb0690f
commit fea3ddf90b
3 changed files with 12 additions and 5 deletions

View File

@@ -492,7 +492,7 @@ inDOMUtils::IsInheritedProperty(const nsAString &aPropertyName, bool *_retval)
}
nsStyleStructID sid = nsCSSProps::kSIDTable[prop];
*_retval = !nsCachedStyleData::IsReset(sid);
*_retval = !nsStyleContext::IsReset(sid);
return NS_OK;
}