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

Unified Diff: Source/core/paint/ReplicaPainter.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/ReplicaPainter.h
diff --git a/Source/core/paint/ReplicaPainter.h b/Source/core/paint/ReplicaPainter.h
index c5b377c898fd40aa1a01d723a8081ae817be66c3..25799efd8e857044ba8a87e5a1c9a356cebf534c 100644
--- a/Source/core/paint/ReplicaPainter.h
+++ b/Source/core/paint/ReplicaPainter.h
@@ -5,6 +5,8 @@
#ifndef ReplicaPainter_h
#define ReplicaPainter_h
+#include "wtf/Allocator.h"
+
namespace blink {
struct PaintInfo;
@@ -12,6 +14,7 @@ class LayoutPoint;
class LayoutReplica;
class ReplicaPainter {
+ STACK_ALLOCATED();
public:
ReplicaPainter(LayoutReplica& layoutReplica) : m_layoutReplica(layoutReplica) { }

Powered by Google App Engine
This is Rietveld 408576698