| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
|
| index 6942444dab4b766c5cf786c5477deb890a865c7b..3d7ece8a5bf8472e63834b5a00c306844a86374e 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
|
| @@ -125,6 +125,15 @@ class LayoutSVGShape : public LayoutSVGModelObject {
|
| FloatRect m_strokeBoundingBox;
|
| LayoutSVGShapeRareData& ensureRareData() const;
|
|
|
| + char objectSize() const override { return sizeof(this); }
|
| + char approximateHeapMemoryUsage() const override {
|
| + int memory = LayoutSVGModelObject::approximateHeapMemoryUsage();
|
| + // TODO(pdr): Include memory from m_path.
|
| + if (m_rareData)
|
| + memory += sizeof(LayoutSVGShapeRareData);
|
| + return memory;
|
| + }
|
| +
|
| private:
|
| // Hit-detection separated for the fill and the stroke
|
| bool fillContains(const FloatPoint&,
|
|
|