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

Unified Diff: Source/core/layout/svg/SVGTextLayoutEngine.h

Issue 1318713003: Make classes and structures in core/layout 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/layout/svg/SVGTextLayoutEngine.h
diff --git a/Source/core/layout/svg/SVGTextLayoutEngine.h b/Source/core/layout/svg/SVGTextLayoutEngine.h
index 0058c147019c7c53df35d6e8d740353d1556ecd3..7a4815134cde2899d573e08bc2f5a12899af4812 100644
--- a/Source/core/layout/svg/SVGTextLayoutEngine.h
+++ b/Source/core/layout/svg/SVGTextLayoutEngine.h
@@ -25,6 +25,7 @@
#include "core/layout/svg/SVGTextLayoutAttributes.h"
#include "core/layout/svg/SVGTextMetrics.h"
#include "platform/graphics/Path.h"
+#include "wtf/Allocator.h"
#include "wtf/Vector.h"
namespace blink {
@@ -44,6 +45,7 @@ class SVGInlineTextBox;
// which are stored in the SVGInlineTextBox objects.
class SVGTextLayoutEngine {
+ STACK_ALLOCATED();
WTF_MAKE_NONCOPYABLE(SVGTextLayoutEngine);
public:
SVGTextLayoutEngine(Vector<SVGTextLayoutAttributes*>&);
« no previous file with comments | « Source/core/layout/svg/SVGTextLayoutAttributesBuilder.h ('k') | Source/core/layout/svg/SVGTextLayoutEngineBaseline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698