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

Unified Diff: Source/core/paint/TableSectionPainter.h

Issue 1319893002: Make classes and structures in core/paint fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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: Source/core/paint/TableSectionPainter.h
diff --git a/Source/core/paint/TableSectionPainter.h b/Source/core/paint/TableSectionPainter.h
index 80163c47cead2147a38959accb2906c5fd7dd4cd..7460c98b2e42fc44f2c1e0c69c6ab82bdffdcda6 100644
--- a/Source/core/paint/TableSectionPainter.h
+++ b/Source/core/paint/TableSectionPainter.h
@@ -5,6 +5,8 @@
#ifndef TableSectionPainter_h
#define TableSectionPainter_h
+#include "wtf/Allocator.h"
+
namespace blink {
class LayoutPoint;
@@ -13,6 +15,7 @@ class LayoutTableSection;
struct PaintInfo;
class TableSectionPainter {
+ STACK_ALLOCATED();
public:
TableSectionPainter(LayoutTableSection& layoutTableSection) : m_layoutTableSection(layoutTableSection) { }

Powered by Google App Engine
This is Rietveld 408576698