| Index: third_party/WebKit/Source/core/layout/LayoutBox.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| index aca950dfdaef5226338fab9bb65e51c04b10e851..22eda42244395cfac14b4db0fdc4e1d4944aad17 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| @@ -1480,6 +1480,16 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject {
|
| bool skipContainingBlockForPercentHeightCalculation(
|
| const LayoutBox* containingBlock) const;
|
|
|
| + char objectSize() const override { return sizeof(this); }
|
| + char approximateHeapMemoryUsage() const override {
|
| + int memory = LayoutBoxModelObject::approximateHeapMemoryUsage();
|
| + if (m_overflow)
|
| + memory += sizeof(BoxOverflowModel);
|
| + if (m_rareData)
|
| + memory += sizeof(LayoutBoxRareData);
|
| + return memory;
|
| + }
|
| +
|
| private:
|
| void updateShapeOutsideInfoAfterStyleChange(const ComputedStyle&,
|
| const ComputedStyle* oldStyle);
|
|
|