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

@@ -499,7 +499,7 @@ nsCSSProps::IsInherited(nsCSSPropertyID aProperty)
MOZ_ASSERT(!IsShorthand(aProperty));
nsStyleStructID sid = kSIDTable[aProperty];
return nsCachedStyleData::IsInherited(sid);
return nsStyleContext::IsInherited(sid);
}
/* static */ bool