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

Unified Diff: Source/core/layout/svg/SVGSubpathData.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/SVGResourcesCycleSolver.h ('k') | Source/core/layout/svg/SVGTextChunkBuilder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/SVGSubpathData.h
diff --git a/Source/core/layout/svg/SVGSubpathData.h b/Source/core/layout/svg/SVGSubpathData.h
index 4854d6336ed3004ff48d1cbe0bebcd5bdea8e86a..85a670888edbb3e4906a22bbbdf6409925d5eac4 100644
--- a/Source/core/layout/svg/SVGSubpathData.h
+++ b/Source/core/layout/svg/SVGSubpathData.h
@@ -21,11 +21,13 @@
#define SVGSubpathData_h
#include "platform/graphics/Path.h"
+#include "wtf/Allocator.h"
#include "wtf/Vector.h"
namespace blink {
class SVGSubpathData {
+ STACK_ALLOCATED();
public:
SVGSubpathData(Vector<FloatPoint>& zeroLengthSubpathLocations)
: m_zeroLengthSubpathLocations(zeroLengthSubpathLocations)
« no previous file with comments | « Source/core/layout/svg/SVGResourcesCycleSolver.h ('k') | Source/core/layout/svg/SVGTextChunkBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698