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

Unified Diff: Source/core/svg/GradientAttributes.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/ColorDistance.h ('k') | Source/core/svg/SVGAnimatedRect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/GradientAttributes.h
diff --git a/Source/core/svg/GradientAttributes.h b/Source/core/svg/GradientAttributes.h
index cf4b40078a845534ad4b45ef3b04231311ad94ab..58dde97a329ca87dbc0d857c00d958a45332a60a 100644
--- a/Source/core/svg/GradientAttributes.h
+++ b/Source/core/svg/GradientAttributes.h
@@ -21,10 +21,12 @@
#define GradientAttributes_h
#include "core/svg/SVGUnitTypes.h"
+#include "wtf/Allocator.h"
namespace blink {
struct GradientAttributes {
+ DISALLOW_ALLOCATION();
GradientAttributes()
: m_spreadMethod(SVGSpreadMethodPad)
, m_gradientUnits(SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX)
@@ -85,6 +87,7 @@ private:
};
struct SameSizeAsGradientAttributes {
+ DISALLOW_ALLOCATION();
AffineTransform a;
Vector<Gradient::ColorStop> b;
unsigned c : 8;
« no previous file with comments | « Source/core/svg/ColorDistance.h ('k') | Source/core/svg/SVGAnimatedRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698