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

Unified Diff: Source/core/paint/SVGClipPainter.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/SVGClipPainter.h
diff --git a/Source/core/paint/SVGClipPainter.h b/Source/core/paint/SVGClipPainter.h
index 5543bf7e546af96c373f75a1d563def7f54660df..5fb2b3afa3b5ed9482abbff3406df072e07df155 100644
--- a/Source/core/paint/SVGClipPainter.h
+++ b/Source/core/paint/SVGClipPainter.h
@@ -7,6 +7,7 @@
#include "platform/geometry/FloatRect.h"
#include "platform/graphics/paint/DisplayItemClient.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -15,6 +16,7 @@ class LayoutObject;
class LayoutSVGResourceClipper;
class SVGClipPainter {
+ STACK_ALLOCATED();
public:
enum ClipperState {
ClipperNotApplied,

Powered by Google App Engine
This is Rietveld 408576698