Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h

Issue 2766943002: Do-not-commit: Count layout tree memory usage
Patch Set: Rebase, add object paint property counter Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
index 082573f3b2a0aaea0b5cae61612b5f01253aed35..02f4183ca00b2663d36ca927ec526c1f0a70ec9a 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
@@ -74,6 +74,8 @@ class LayoutSVGContainer : public LayoutSVGModelObject {
return type == LayoutObjectSVGContainer ||
LayoutSVGModelObject::isOfType(type);
}
+ char objectSize() const override { return sizeof(this); }
+
void layout() override;
void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) final;

Powered by Google App Engine
This is Rietveld 408576698