зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1448728 followup - Move ServoComputedValuesMallocEnclosingSizeOf to ComputedStyle.cpp.
This commit is contained in:
Родитель
afea770358
Коммит
8324509a8c
|
@ -448,6 +448,8 @@ ComputedStyle::GetCachedLazyPseudoStyle(CSSPseudoElementType aPseudo) const
|
|||
return mCachedInheritingStyles.Lookup(nsCSSPseudoElements::GetPseudoAtom(aPseudo));
|
||||
}
|
||||
|
||||
MOZ_DEFINE_MALLOC_ENCLOSING_SIZE_OF(ServoComputedValuesMallocEnclosingSizeOf)
|
||||
|
||||
void
|
||||
ComputedStyle::AddSizeOfIncludingThis(nsWindowSizes& aSizes,
|
||||
size_t* aCVsSize) const
|
||||
|
|
|
@ -34,8 +34,6 @@ extern "C" {
|
|||
void Gecko_ComputedStyle_Destroy(mozilla::ComputedStyle*);
|
||||
}
|
||||
|
||||
MOZ_DEFINE_MALLOC_ENCLOSING_SIZE_OF(ServoComputedValuesMallocEnclosingSizeOf)
|
||||
|
||||
/**
|
||||
* A ComputedStyle represents the computed style data for an element. The
|
||||
* computed style data are stored in a set of structs (see nsStyleStruct.h) that
|
||||
|
|
Загрузка…
Ссылка в новой задаче