Remove unused method nsIStyleRule::GetStrength. b=162492 r=kin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127259 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -951,9 +951,6 @@ public:
|
||||
|
||||
NS_IMETHOD GetStyleSheet(nsIStyleSheet*& aSheet) const;
|
||||
|
||||
// Strength is an out-of-band weighting, useful for mapping CSS ! important
|
||||
NS_IMETHOD GetStrength(PRInt32& aStrength) const;
|
||||
|
||||
// The new mapping function.
|
||||
NS_IMETHOD MapRuleInfoInto(nsRuleData* aRuleData);
|
||||
|
||||
@@ -1010,14 +1007,6 @@ CSSImportantRule::GetStyleSheet(nsIStyleSheet*& aSheet) const
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// Strength is an out-of-band weighting, useful for mapping CSS ! important
|
||||
NS_IMETHODIMP
|
||||
CSSImportantRule::GetStrength(PRInt32& aStrength) const
|
||||
{
|
||||
aStrength = 1;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
CSSImportantRule::MapRuleInfoInto(nsRuleData* aRuleData)
|
||||
{
|
||||
@@ -1432,8 +1421,6 @@ public:
|
||||
|
||||
// NS_IMETHOD Equals(const nsIStyleRule* aRule, PRBool& aResult) const;
|
||||
// NS_IMETHOD HashValue(PRUint32& aValue) const;
|
||||
// Strength is an out-of-band weighting, useful for mapping CSS ! important
|
||||
NS_IMETHOD GetStrength(PRInt32& aStrength) const;
|
||||
|
||||
virtual nsCSSSelector* FirstSelector(void);
|
||||
virtual void AddSelector(const nsCSSSelector& aSelector);
|
||||
@@ -1632,14 +1619,6 @@ CSSStyleRuleImpl::HashValue(PRUint32& aValue) const
|
||||
}
|
||||
#endif
|
||||
|
||||
// Strength is an out-of-band weighting, useful for mapping CSS ! important
|
||||
NS_IMETHODIMP
|
||||
CSSStyleRuleImpl::GetStrength(PRInt32& aStrength) const
|
||||
{
|
||||
aStrength = 0;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsCSSSelector* CSSStyleRuleImpl::FirstSelector(void)
|
||||
{
|
||||
return &mSelector;
|
||||
|
||||
Reference in New Issue
Block a user