| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
|
| index b84f52a7007bd3a65d86a98483fd17668f22d95d..f25de3be603326664ec81c24aa7371cdab219089 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
|
| @@ -65,6 +65,14 @@ class LayoutSVGResourceClipper final : public LayoutSVGResourceContainer {
|
| }
|
|
|
| private:
|
| + char objectSize() const override { return sizeof(this); }
|
| + char approximateHeapMemoryUsage() const override {
|
| + int memory = LayoutSVGResourceContainer::approximateHeapMemoryUsage();
|
| + // TODO(pdr): Include memory from m_clipContentPath.
|
| + // TODO(pdr): Include memory from m_cachedPaintRecord.
|
| + return memory;
|
| + }
|
| +
|
| void calculateLocalClipBounds();
|
|
|
| // Return true if the clip path was calculated or a cached value is available.
|
|
|