Bug 1448728 followup - Move ServoComputedValuesMallocEnclosingSizeOf to ComputedStyle.cpp.

This commit is contained in:
Xidorn Quan 2018-03-28 10:57:35 +11:00
Родитель afea770358
Коммит 8324509a8c
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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