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

Unified Diff: Source/core/svg/SVGPathSeg.h

Issue 1321453012: Added allocator matcros to blink classes and structures in core/svg. (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/svg/SVGElement.h ('k') | Source/core/svg/SVGRect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSeg.h
diff --git a/Source/core/svg/SVGPathSeg.h b/Source/core/svg/SVGPathSeg.h
index 2a26f7703d4b7ef914e61c1ad9af5af3be058922..58422ba672b743edb69933cc024bfdddc9f8ef5c 100644
--- a/Source/core/svg/SVGPathSeg.h
+++ b/Source/core/svg/SVGPathSeg.h
@@ -24,6 +24,7 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "platform/geometry/FloatPoint.h"
#include "platform/heap/Handle.h"
+#include "wtf/Allocator.h"
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
@@ -73,6 +74,7 @@ static inline bool isAbsolutePathSegType(const SVGPathSegType type)
}
struct PathSegmentData {
+ STACK_ALLOCATED();
PathSegmentData()
: command(PathSegUnknown)
, arcSweep(false)
« no previous file with comments | « Source/core/svg/SVGElement.h ('k') | Source/core/svg/SVGRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698