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

Unified Diff: Source/core/paint/SVGInlineTextBoxPainter.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/SVGInlineTextBoxPainter.h
diff --git a/Source/core/paint/SVGInlineTextBoxPainter.h b/Source/core/paint/SVGInlineTextBoxPainter.h
index 84ef666c35a5a0a12cf4329fb608293d06fbc7bd..b898e1a800b60ce98a08826577eae600b397fe26 100644
--- a/Source/core/paint/SVGInlineTextBoxPainter.h
+++ b/Source/core/paint/SVGInlineTextBoxPainter.h
@@ -7,6 +7,7 @@
#include "core/style/ComputedStyleConstants.h"
#include "core/layout/svg/LayoutSVGResourcePaintServer.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -22,6 +23,7 @@ class TextRun;
class DocumentMarker;
class SVGInlineTextBoxPainter {
+ STACK_ALLOCATED();
public:
SVGInlineTextBoxPainter(SVGInlineTextBox& svgInlineTextBox) : m_svgInlineTextBox(svgInlineTextBox) { }
void paint(const PaintInfo&, const LayoutPoint&);

Powered by Google App Engine
This is Rietveld 408576698