зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1315601 part 7 - Simplify ConditionRule. r=heycam
MozReview-Commit-ID: 1Ip53AOirbi --HG-- extra : rebase_source : 078ee67ece475cbf68f7395624abfa4e17cbc42c
This commit is contained in:
Родитель
60fc385265
Коммит
abbff1ff9a
|
@ -366,24 +366,6 @@ GroupRule::SizeOfExcludingThis(MallocSizeOf aMallocSizeOf) const
|
|||
return n;
|
||||
}
|
||||
|
||||
// -------------------------------
|
||||
// ConditionRule
|
||||
//
|
||||
|
||||
ConditionRule::ConditionRule(uint32_t aLineNumber, uint32_t aColumnNumber)
|
||||
: GroupRule(aLineNumber, aColumnNumber)
|
||||
{
|
||||
}
|
||||
|
||||
ConditionRule::ConditionRule(const ConditionRule& aCopy)
|
||||
: GroupRule(aCopy)
|
||||
{
|
||||
}
|
||||
|
||||
ConditionRule::~ConditionRule()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
} // namespace css
|
||||
} // namespace mozill
|
||||
|
|
|
@ -101,12 +101,9 @@ protected:
|
|||
class ConditionRule : public GroupRule
|
||||
{
|
||||
protected:
|
||||
ConditionRule(uint32_t aLineNumber, uint32_t aColumnNumber);
|
||||
ConditionRule(const ConditionRule& aCopy);
|
||||
virtual ~ConditionRule();
|
||||
using GroupRule::GroupRule;
|
||||
|
||||
public:
|
||||
|
||||
// GetConditionText signature matches nsIDOMCSSConditionRule, so subclasses
|
||||
// can implement this easily. The implementations should never return
|
||||
// anything other than NS_OK.
|
||||
|
|
Загрузка…
Ссылка в новой задаче