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

Unified Diff: Source/core/paint/TablePainter.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/TablePainter.h
diff --git a/Source/core/paint/TablePainter.h b/Source/core/paint/TablePainter.h
index 773a4ce001c9fe25d589473e94df4efb9589a6d7..cdb972ae9ebda94e664a73f1cfe96642308610ba 100644
--- a/Source/core/paint/TablePainter.h
+++ b/Source/core/paint/TablePainter.h
@@ -5,6 +5,8 @@
#ifndef TablePainter_h
#define TablePainter_h
+#include "wtf/Allocator.h"
+
namespace blink {
class LayoutPoint;
@@ -12,6 +14,7 @@ class LayoutTable;
struct PaintInfo;
class TablePainter {
+ STACK_ALLOCATED();
public:
TablePainter(LayoutTable& layoutTable) : m_layoutTable(layoutTable) { }

Powered by Google App Engine
This is Rietveld 408576698