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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.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/LayoutSVGModelObject.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.h
index 33eed6c6be4f18fac042f2316aca5e5652904a0c..16f39319bff193a58a1e1b2e21c930e0868f63e3 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.h
@@ -76,6 +76,7 @@ class LayoutSVGModelObject : public LayoutObject {
bool isOfType(LayoutObjectType type) const override {
return type == LayoutObjectSVG || LayoutObject::isOfType(type);
}
+ char objectSize() const override { return sizeof(this); }
protected:
void addLayerHitTestRects(LayerHitTestRects&,

Powered by Google App Engine
This is Rietveld 408576698