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

Unified Diff: Source/core/paint/RootInlineBoxPainter.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/RootInlineBoxPainter.h
diff --git a/Source/core/paint/RootInlineBoxPainter.h b/Source/core/paint/RootInlineBoxPainter.h
index a398986b69e6f39e1460db28bebb31a37ba5e8b0..29e773c56592c17ee3b6a413d6c1bce4482fb63d 100644
--- a/Source/core/paint/RootInlineBoxPainter.h
+++ b/Source/core/paint/RootInlineBoxPainter.h
@@ -5,6 +5,8 @@
#ifndef RootInlineBoxPainter_h
#define RootInlineBoxPainter_h
+#include "wtf/Allocator.h"
+
namespace blink {
struct PaintInfo;
@@ -13,6 +15,7 @@ class LayoutUnit;
class RootInlineBox;
class RootInlineBoxPainter {
+ STACK_ALLOCATED();
public:
RootInlineBoxPainter(RootInlineBox& rootInlineBox) : m_rootInlineBox(rootInlineBox) { }

Powered by Google App Engine
This is Rietveld 408576698