mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 1422538: Inline ServoElementSnapshot destructor. r=bz
No point in doing a function call for a default destructor. MozReview-Commit-ID: Ll26umYyrKL
This commit is contained in:
parent
e2adbbafc4
commit
7c35a51632
@ -27,11 +27,6 @@ ServoElementSnapshot::ServoElementSnapshot(const Element* aElement)
|
||||
mSupportsLangAttr = aElement->SupportsLangAttr();
|
||||
}
|
||||
|
||||
ServoElementSnapshot::~ServoElementSnapshot()
|
||||
{
|
||||
MOZ_COUNT_DTOR(ServoElementSnapshot);
|
||||
}
|
||||
|
||||
void
|
||||
ServoElementSnapshot::AddAttrs(Element* aElement,
|
||||
int32_t aNameSpaceID,
|
||||
|
@ -71,7 +71,11 @@ public:
|
||||
typedef ServoElementSnapshotFlags Flags;
|
||||
|
||||
explicit ServoElementSnapshot(const Element* aElement);
|
||||
~ServoElementSnapshot();
|
||||
|
||||
~ServoElementSnapshot()
|
||||
{
|
||||
MOZ_COUNT_DTOR(ServoElementSnapshot);
|
||||
}
|
||||
|
||||
bool HasAttrs() const { return HasAny(Flags::Attributes); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user