зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1591087 - Add some more HTML*Element sizeof assertions, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D50475 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
3b1da67289
Коммит
c57f4b7104
|
@ -53,7 +53,10 @@
|
|||
#include "mozilla/dom/AnimatableBinding.h"
|
||||
#include "mozilla/dom/FeaturePolicyUtils.h"
|
||||
#include "mozilla/dom/HTMLDivElement.h"
|
||||
#include "mozilla/dom/HTMLParagraphElement.h"
|
||||
#include "mozilla/dom/HTMLPreElement.h"
|
||||
#include "mozilla/dom/HTMLSpanElement.h"
|
||||
#include "mozilla/dom/HTMLTableCellElement.h"
|
||||
#include "mozilla/dom/KeyframeAnimationOptionsBinding.h"
|
||||
#include "mozilla/dom/MutationEventBinding.h"
|
||||
#include "mozilla/AnimationComparator.h"
|
||||
|
@ -209,7 +212,10 @@ namespace dom {
|
|||
// bucket sizes.
|
||||
ASSERT_NODE_SIZE(Element, 128, 80);
|
||||
ASSERT_NODE_SIZE(HTMLDivElement, 128, 80);
|
||||
ASSERT_NODE_SIZE(HTMLParagraphElement, 128, 80);
|
||||
ASSERT_NODE_SIZE(HTMLPreElement, 128, 80);
|
||||
ASSERT_NODE_SIZE(HTMLSpanElement, 128, 80);
|
||||
ASSERT_NODE_SIZE(HTMLTableCellElement, 128, 80);
|
||||
ASSERT_NODE_SIZE(Text, 120, 64);
|
||||
|
||||
#undef ASSERT_NODE_SIZE
|
||||
|
|
Загрузка…
Ссылка в новой задаче