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

Unified Diff: Source/core/paint/EllipsisBoxPainter.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/EllipsisBoxPainter.h
diff --git a/Source/core/paint/EllipsisBoxPainter.h b/Source/core/paint/EllipsisBoxPainter.h
index 8cb4d7a106f95dcbe60084521b6c39ec79ab284c..e44c8875b11e65e6595b41d5f32e65dbb872af06 100644
--- a/Source/core/paint/EllipsisBoxPainter.h
+++ b/Source/core/paint/EllipsisBoxPainter.h
@@ -5,6 +5,8 @@
#ifndef EllipsisBoxPainter_h
#define EllipsisBoxPainter_h
+#include "wtf/Allocator.h"
+
namespace blink {
struct PaintInfo;
@@ -18,6 +20,7 @@ class LayoutUnit;
class ComputedStyle;
class EllipsisBoxPainter {
+ STACK_ALLOCATED();
public:
EllipsisBoxPainter(EllipsisBox& ellipsisBox) : m_ellipsisBox(ellipsisBox) { }

Powered by Google App Engine
This is Rietveld 408576698