зеркало из https://github.com/mozilla/gecko-dev.git
Bug 960631 - delete some dead templates in nsRuleNode.cpp; r=dholbert
This commit is contained in:
Родитель
8a833e8f1d
Коммит
986b7160ef
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче