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

Unified Diff: Source/core/layout/svg/SVGTextLayoutEngineSpacing.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
« no previous file with comments | « Source/core/layout/svg/SVGTextLayoutEngineBaseline.h ('k') | Source/core/layout/svg/SVGTextMetrics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/SVGTextLayoutEngineSpacing.h
diff --git a/Source/core/layout/svg/SVGTextLayoutEngineSpacing.h b/Source/core/layout/svg/SVGTextLayoutEngineSpacing.h
index 9cedfd81ed715b2c20fae19a422eaf57de91e0e1..e69c5a1a3708909ed2705fb70849790f666921f2 100644
--- a/Source/core/layout/svg/SVGTextLayoutEngineSpacing.h
+++ b/Source/core/layout/svg/SVGTextLayoutEngineSpacing.h
@@ -20,6 +20,7 @@
#ifndef SVGTextLayoutEngineSpacing_h
#define SVGTextLayoutEngineSpacing_h
+#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
#include "wtf/text/Unicode.h"
@@ -29,6 +30,7 @@ class Font;
// Helper class used by SVGTextLayoutEngine to handle 'letter-spacing' and 'word-spacing'.
class SVGTextLayoutEngineSpacing {
+ STACK_ALLOCATED();
WTF_MAKE_NONCOPYABLE(SVGTextLayoutEngineSpacing);
public:
SVGTextLayoutEngineSpacing(const Font&, float effectiveZoom);
« no previous file with comments | « Source/core/layout/svg/SVGTextLayoutEngineBaseline.h ('k') | Source/core/layout/svg/SVGTextMetrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698