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

Unified Diff: Source/core/paint/SVGShapePainter.h

Issue 1319893002: Make classes and structures in core/paint 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
Index: Source/core/paint/SVGShapePainter.h
diff --git a/Source/core/paint/SVGShapePainter.h b/Source/core/paint/SVGShapePainter.h
index d37d0ddae960a8cadddbb4b071449e4adb9f701f..45241c23914bbe2919b0b006c3650b276cdb7971 100644
--- a/Source/core/paint/SVGShapePainter.h
+++ b/Source/core/paint/SVGShapePainter.h
@@ -6,6 +6,7 @@
#define SVGShapePainter_h
#include "third_party/skia/include/core/SkPath.h"
+#include "wtf/Allocator.h"
class SkPaint;
@@ -20,6 +21,7 @@ class LayoutSVGResourceMarker;
class LayoutSVGShape;
class SVGShapePainter {
+ STACK_ALLOCATED();
public:
SVGShapePainter(LayoutSVGShape& layoutSVGShape) : m_layoutSVGShape(layoutSVGShape) { }

Powered by Google App Engine
This is Rietveld 408576698