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

Unified Diff: Source/core/paint/InlinePainter.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/InlinePainter.h
diff --git a/Source/core/paint/InlinePainter.h b/Source/core/paint/InlinePainter.h
index c61663e54bfeeee60be2f23fddf2c0ace4501494..3cdf86c048bc33871ac134cff1bd321f77bcd01e 100644
--- a/Source/core/paint/InlinePainter.h
+++ b/Source/core/paint/InlinePainter.h
@@ -6,6 +6,7 @@
#define InlinePainter_h
#include "core/style/ComputedStyleConstants.h"
+#include "wtf/Allocator.h"
#include "wtf/Vector.h"
namespace blink {
@@ -18,6 +19,7 @@ struct PaintInfo;
class LayoutInline;
class InlinePainter {
+ STACK_ALLOCATED();
public:
InlinePainter(LayoutInline& layoutInline) : m_layoutInline(layoutInline) { }

Powered by Google App Engine
This is Rietveld 408576698