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

Unified Diff: Source/core/svg/SVGRect.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/SVGPathSeg.h ('k') | Source/core/svg/SVGTransformDistance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGRect.h
diff --git a/Source/core/svg/SVGRect.h b/Source/core/svg/SVGRect.h
index b305cdb6586b3c5029ef25e0086e012da32c6307..611b99cbeb2c3a933565eec1e9d39d1f53326b2a 100644
--- a/Source/core/svg/SVGRect.h
+++ b/Source/core/svg/SVGRect.h
@@ -22,6 +22,7 @@
#include "core/svg/properties/SVGPropertyHelper.h"
#include "platform/geometry/FloatRect.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -31,7 +32,9 @@ class SVGRect : public SVGPropertyHelper<SVGRect> {
public:
typedef SVGRectTearOff TearOffType;
- struct InvalidSVGRectTag { };
+ struct InvalidSVGRectTag {
haraken 2015/08/28 09:41:35 I think we should use enum instead.
tasak 2015/08/28 10:19:26 Removed InvalidSVGRectTag. Instead, added createIn
+ STACK_ALLOCATED();
+ };
static PassRefPtrWillBeRawPtr<SVGRect> create()
{
« no previous file with comments | « Source/core/svg/SVGPathSeg.h ('k') | Source/core/svg/SVGTransformDistance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698