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; |