Bug 960631 - delete some dead templates in nsRuleNode.cpp; r=dholbert

This commit is contained in:
Nathan Froyd 2014-01-16 12:52:10 -05:00
Родитель 8a833e8f1d
Коммит 986b7160ef
1 изменённых файлов: 0 добавлений и 30 удалений

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

@ -5669,24 +5669,6 @@ nsRuleNode::ComputeColorData(void* aStartStruct,
}
// information about how to compute values for background-* properties
template <class SpecifiedValueItem>
struct InitialInheritLocationFor {
};
template <>
struct InitialInheritLocationFor<nsCSSValueList> {
static nsCSSValue nsCSSValueList::* Location() {
return &nsCSSValueList::mValue;
}
};
template <>
struct InitialInheritLocationFor<nsCSSValuePairList> {
static nsCSSValue nsCSSValuePairList::* Location() {
return &nsCSSValuePairList::mXValue;
}
};
template <class SpecifiedValueItem, class ComputedValueItem>
struct BackgroundItemComputer {
};
@ -7870,18 +7852,6 @@ SetSVGOpacity(const nsCSSValue& aValue,
}
}
template <typename FieldT, typename T>
static bool
SetTextContextValue(const nsCSSValue& aValue, FieldT& aField, T aFallbackValue)
{
if (aValue.GetUnit() != eCSSUnit_Enumerated ||
aValue.GetIntValue() != NS_STYLE_STROKE_PROP_CONTEXT_VALUE) {
return false;
}
aField = aFallbackValue;
return true;
}
const void*
nsRuleNode::ComputeSVGData(void* aStartStruct,
const nsRuleData* aRuleData,