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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGTSpan.h

Issue 2766943002: Do-not-commit: Count layout tree memory usage
Patch Set: Rebase, add object paint property counter Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> 2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3 * Copyright (C) 2006 Apple Computer Inc. 3 * Copyright (C) 2006 Apple Computer Inc.
4 * Copyright (C) 2009 Google Inc. 4 * Copyright (C) 2009 Google Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 14 matching lines...) Expand all
25 #include "core/layout/svg/LayoutSVGInline.h" 25 #include "core/layout/svg/LayoutSVGInline.h"
26 26
27 namespace blink { 27 namespace blink {
28 class LayoutSVGTSpan final : public LayoutSVGInline { 28 class LayoutSVGTSpan final : public LayoutSVGInline {
29 public: 29 public:
30 explicit LayoutSVGTSpan(Element*); 30 explicit LayoutSVGTSpan(Element*);
31 31
32 bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override; 32 bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override;
33 33
34 const char* name() const override { return "LayoutSVGTSpan"; } 34 const char* name() const override { return "LayoutSVGTSpan"; }
35 char objectSize() const override { return sizeof(this); }
35 }; 36 };
36 } 37 }
37 38
38 #endif // LayoutSVGTSpan_h 39 #endif // LayoutSVGTSpan_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h ('k') | third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698