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

Unified Diff: Source/core/paint/LineBoxListPainter.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/LineBoxListPainter.h
diff --git a/Source/core/paint/LineBoxListPainter.h b/Source/core/paint/LineBoxListPainter.h
index 367cc08e66d0d81921a3b70a15da03498e5a0b8c..e6f9397fd0d621fc68e6e88d78c548dd992ad3e3 100644
--- a/Source/core/paint/LineBoxListPainter.h
+++ b/Source/core/paint/LineBoxListPainter.h
@@ -6,6 +6,7 @@
#define LineBoxListPainter_h
#include "core/style/ComputedStyleConstants.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -15,6 +16,7 @@ class LayoutBoxModelObject;
class LineBoxList;
class LineBoxListPainter {
+ STACK_ALLOCATED();
public:
LineBoxListPainter(LineBoxList& lineBoxList) : m_lineBoxList(lineBoxList) { }

Powered by Google App Engine
This is Rietveld 408576698