Fix one more comment that uses "inherit" incorrectly.

This commit is contained in:
dbaron%fas.harvard.edu 2002-02-17 02:03:07 +00:00
Родитель 8454ca2dfb
Коммит 601647b074
2 изменённых файлов: 12 добавлений и 4 удалений

Просмотреть файл

@ -4748,8 +4748,12 @@ nsRuleNode::GetStyleData(nsStyleStructID aSID,
return cachedData; // We have a fully specified struct. Just return it.
if (mDependentBits & nsCachedStyleData::GetBitForSID(aSID))
return GetParentData(aSID); // We inherit. Just go up the rule tree and return the first
// cached struct we find.
return GetParentData(aSID); // We depend on an ancestor for this
// struct since the cached struct it has
// is also appropriate for this rule
// node. Just go up the rule tree and
// return the first cached struct we
// find.
// Nothing is cached. We'll have to delve further and examine our rules.
GetStyleDataFn fn = gGetStyleDataFn[aSID];

Просмотреть файл

@ -4748,8 +4748,12 @@ nsRuleNode::GetStyleData(nsStyleStructID aSID,
return cachedData; // We have a fully specified struct. Just return it.
if (mDependentBits & nsCachedStyleData::GetBitForSID(aSID))
return GetParentData(aSID); // We inherit. Just go up the rule tree and return the first
// cached struct we find.
return GetParentData(aSID); // We depend on an ancestor for this
// struct since the cached struct it has
// is also appropriate for this rule
// node. Just go up the rule tree and
// return the first cached struct we
// find.
// Nothing is cached. We'll have to delve further and examine our rules.
GetStyleDataFn fn = gGetStyleDataFn[aSID];