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

Unified Diff: Source/core/paint/ViewPainter.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/ViewPainter.h
diff --git a/Source/core/paint/ViewPainter.h b/Source/core/paint/ViewPainter.h
index 2e26d4852ff0c3c70121b2f13eb2406923380084..015dc7e6912fa6d0ead5ca0e29d4e876f1efba0e 100644
--- a/Source/core/paint/ViewPainter.h
+++ b/Source/core/paint/ViewPainter.h
@@ -5,6 +5,8 @@
#ifndef ViewPainter_h
#define ViewPainter_h
+#include "wtf/Allocator.h"
+
namespace blink {
class LayoutPoint;
@@ -13,6 +15,7 @@ class LayoutBox;
class LayoutView;
class ViewPainter {
+ STACK_ALLOCATED();
public:
ViewPainter(LayoutView& layoutView) : m_layoutView(layoutView) { }
« Source/core/paint/DeprecatedPaintLayerFilterInfo.h ('K') | « Source/core/paint/VideoPainter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698