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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.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/LayoutSVGBlock.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h
index 3160899c9e18df8fd239725fb587812dd5e51fba..0340d9057f55dfcee9473ba3add5d77af6929a57 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h
@@ -65,6 +65,7 @@ class LayoutSVGBlock : public LayoutBlockFlow {
bool isOfType(LayoutObjectType type) const override {
return type == LayoutObjectSVG || LayoutBlockFlow::isOfType(type);
}
+ char objectSize() const override { return sizeof(this); }
private:
LayoutRect absoluteVisualRect() const final;

Powered by Google App Engine
This is Rietveld 408576698