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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutSliderThumb.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/LayoutSliderThumb.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutSliderThumb.h b/third_party/WebKit/Source/core/layout/LayoutSliderThumb.h
index 8b8dbabcd584185bb6e8b99b13fa59b0a46d3183..09cdd9afd2d6d88404ef8937ea429b96d71e4cdd 100644
--- a/third_party/WebKit/Source/core/layout/LayoutSliderThumb.h
+++ b/third_party/WebKit/Source/core/layout/LayoutSliderThumb.h
@@ -48,6 +48,7 @@ class LayoutSliderThumb final : public LayoutBlockFlow {
bool isOfType(LayoutObjectType type) const override {
return type == LayoutObjectSliderThumb || LayoutBlockFlow::isOfType(type);
}
+ char objectSize() const override { return sizeof(this); }
};
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSliderThumb, isSliderThumb());

Powered by Google App Engine
This is Rietveld 408576698