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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutMedia.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/LayoutMedia.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutMedia.h b/third_party/WebKit/Source/core/layout/LayoutMedia.h
index d811d3ab64f5eb9405f40bc6a485b1f010d86b8e..46b7f6b693b47b91bd89f5a5ae9fd847828bf4e8 100644
--- a/third_party/WebKit/Source/core/layout/LayoutMedia.h
+++ b/third_party/WebKit/Source/core/layout/LayoutMedia.h
@@ -57,6 +57,7 @@ class LayoutMedia : public LayoutImage {
HTMLMediaElement* mediaElement() const;
const char* name() const override { return "LayoutMedia"; }
+ char objectSize() const override { return sizeof(this); }
protected:
void layout() override;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutListMarker.h ('k') | third_party/WebKit/Source/core/layout/LayoutMenuList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698