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

Unified Diff: Source/core/paint/GridPainter.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/GridPainter.h
diff --git a/Source/core/paint/GridPainter.h b/Source/core/paint/GridPainter.h
index 9c33efb6e4e0e11b6fdeb67d91c81e0cc24e9b0b..3b0648d5f235ff1893dbcbd34d83ca24b1b8d950 100644
--- a/Source/core/paint/GridPainter.h
+++ b/Source/core/paint/GridPainter.h
@@ -5,6 +5,8 @@
#ifndef GridPainter_h
#define GridPainter_h
+#include "wtf/Allocator.h"
+
namespace blink {
struct PaintInfo;
@@ -13,6 +15,7 @@ class LayoutBox;
class LayoutGrid;
class GridPainter {
+ STACK_ALLOCATED();
public:
GridPainter(LayoutGrid& layoutGrid) : m_layoutGrid(layoutGrid) { }

Powered by Google App Engine
This is Rietveld 408576698