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

Unified Diff: Source/core/paint/SVGForeignObjectPainter.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/SVGForeignObjectPainter.h
diff --git a/Source/core/paint/SVGForeignObjectPainter.h b/Source/core/paint/SVGForeignObjectPainter.h
index 32976c5eb37c365ec8b09f210b93c4cbc9ce0a5d..1e80acd48c4bf3b7fb9d623e615ac2a63a3c4de0 100644
--- a/Source/core/paint/SVGForeignObjectPainter.h
+++ b/Source/core/paint/SVGForeignObjectPainter.h
@@ -5,12 +5,15 @@
#ifndef SVGForeignObjectPainter_h
#define SVGForeignObjectPainter_h
+#include "wtf/Allocator.h"
+
namespace blink {
struct PaintInfo;
class LayoutSVGForeignObject;
class SVGForeignObjectPainter {
+ STACK_ALLOCATED();
public:
SVGForeignObjectPainter(LayoutSVGForeignObject& layoutSVGForeignObject) : m_layoutSVGForeignObject(layoutSVGForeignObject) { }
void paint(const PaintInfo&);

Powered by Google App Engine
This is Rietveld 408576698