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

Unified Diff: Source/core/paint/SVGInlineFlowBoxPainter.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/SVGInlineFlowBoxPainter.h
diff --git a/Source/core/paint/SVGInlineFlowBoxPainter.h b/Source/core/paint/SVGInlineFlowBoxPainter.h
index 6bfd9c1039d217ae308c879ad8518f17952c8cc6..f9d6ec7d4d13d31a3f96f3f9f37c59e1a9253508 100644
--- a/Source/core/paint/SVGInlineFlowBoxPainter.h
+++ b/Source/core/paint/SVGInlineFlowBoxPainter.h
@@ -5,6 +5,8 @@
#ifndef SVGInlineFlowBoxPainter_h
#define SVGInlineFlowBoxPainter_h
+#include "wtf/Allocator.h"
+
namespace blink {
struct PaintInfo;
@@ -12,6 +14,7 @@ class LayoutPoint;
class SVGInlineFlowBox;
class SVGInlineFlowBoxPainter {
+ STACK_ALLOCATED();
public:
SVGInlineFlowBoxPainter(SVGInlineFlowBox& svgInlineFlowBox) : m_svgInlineFlowBox(svgInlineFlowBox) { }

Powered by Google App Engine
This is Rietveld 408576698