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

Unified Diff: Source/core/paint/SVGRootInlineBoxPainter.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/SVGRootInlineBoxPainter.h
diff --git a/Source/core/paint/SVGRootInlineBoxPainter.h b/Source/core/paint/SVGRootInlineBoxPainter.h
index bc722a970ee5900f1186edbbc110862e0a263927..febd0e1bb234411e7e910b7d158b2f2466490a91 100644
--- a/Source/core/paint/SVGRootInlineBoxPainter.h
+++ b/Source/core/paint/SVGRootInlineBoxPainter.h
@@ -5,6 +5,8 @@
#ifndef SVGRootInlineBoxPainter_h
#define SVGRootInlineBoxPainter_h
+#include "wtf/Allocator.h"
+
namespace blink {
struct PaintInfo;
@@ -12,6 +14,7 @@ class LayoutPoint;
class SVGRootInlineBox;
class SVGRootInlineBoxPainter {
+ STACK_ALLOCATED();
public:
SVGRootInlineBoxPainter(SVGRootInlineBox& svgRootInlineBox) : m_svgRootInlineBox(svgRootInlineBox) { }

Powered by Google App Engine
This is Rietveld 408576698