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

Unified Diff: Source/core/layout/svg/SVGTextLayoutEngineBaseline.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/SVGTextLayoutEngine.h ('k') | Source/core/layout/svg/SVGTextLayoutEngineSpacing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/SVGTextLayoutEngineBaseline.h
diff --git a/Source/core/layout/svg/SVGTextLayoutEngineBaseline.h b/Source/core/layout/svg/SVGTextLayoutEngineBaseline.h
index bfdfdd282d71d1bc4ffcaae3217306706c4a893c..d5f90835ea7e6b56579c844d1d212bf1567633a2 100644
--- a/Source/core/layout/svg/SVGTextLayoutEngineBaseline.h
+++ b/Source/core/layout/svg/SVGTextLayoutEngineBaseline.h
@@ -21,6 +21,7 @@
#define SVGTextLayoutEngineBaseline_h
#include "core/style/SVGComputedStyleDefs.h"
+#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
#include "wtf/text/Unicode.h"
@@ -34,6 +35,7 @@ class SVGTextMetrics;
// Helper class used by SVGTextLayoutEngine to handle 'alignment-baseline' / 'dominant-baseline' and 'baseline-shift'.
class SVGTextLayoutEngineBaseline {
+ STACK_ALLOCATED();
WTF_MAKE_NONCOPYABLE(SVGTextLayoutEngineBaseline);
public:
SVGTextLayoutEngineBaseline(const Font&, float effectiveZoom);
« no previous file with comments | « Source/core/layout/svg/SVGTextLayoutEngine.h ('k') | Source/core/layout/svg/SVGTextLayoutEngineSpacing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698