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

Unified Diff: Source/core/paint/Transform3DRecorder.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/Transform3DRecorder.h
diff --git a/Source/core/paint/Transform3DRecorder.h b/Source/core/paint/Transform3DRecorder.h
index aaa2a92c88cd5c8f2c437adf765bb93386bf121a..493264b7d98aeacd50b36279c0673b3f4a1c54ed 100644
--- a/Source/core/paint/Transform3DRecorder.h
+++ b/Source/core/paint/Transform3DRecorder.h
@@ -6,6 +6,7 @@
#define Transform3DRecorder_h
#include "platform/graphics/paint/DisplayItem.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -13,6 +14,7 @@ class GraphicsContext;
class TransformationMatrix;
class Transform3DRecorder {
+ STACK_ALLOCATED();
public:
Transform3DRecorder(GraphicsContext&, const DisplayItemClientWrapper&, DisplayItem::Type, const TransformationMatrix&);
~Transform3DRecorder();

Powered by Google App Engine
This is Rietveld 408576698