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

Unified Diff: Source/core/paint/TableCellPainter.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/TableCellPainter.h
diff --git a/Source/core/paint/TableCellPainter.h b/Source/core/paint/TableCellPainter.h
index 1cc3c4d5b086fc611c644db8c2f820a39d1efd54..bebad50067321b3a5c5e15a25daa037c066cc969 100644
--- a/Source/core/paint/TableCellPainter.h
+++ b/Source/core/paint/TableCellPainter.h
@@ -6,6 +6,7 @@
#define TableCellPainter_h
#include "core/style/CollapsedBorderValue.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -17,6 +18,7 @@ class LayoutObject;
class ComputedStyle;
class TableCellPainter {
+ STACK_ALLOCATED();
public:
TableCellPainter(LayoutTableCell& layoutTableCell) : m_layoutTableCell(layoutTableCell) { }

Powered by Google App Engine
This is Rietveld 408576698