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

Unified Diff: Source/core/paint/DeprecatedPaintLayerPainter.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/DeprecatedPaintLayerPainter.h
diff --git a/Source/core/paint/DeprecatedPaintLayerPainter.h b/Source/core/paint/DeprecatedPaintLayerPainter.h
index 1c4ef5f207e9ea60a92835f3230210b298635b29..9c0fe9f0707ca751ef67b59cee1c2618e09050b1 100644
--- a/Source/core/paint/DeprecatedPaintLayerPainter.h
+++ b/Source/core/paint/DeprecatedPaintLayerPainter.h
@@ -8,6 +8,7 @@
#include "core/CoreExport.h"
#include "core/paint/DeprecatedPaintLayerFragment.h"
#include "core/paint/DeprecatedPaintLayerPaintingInfo.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -17,6 +18,7 @@ class GraphicsContext;
class LayoutPoint;
class CORE_EXPORT DeprecatedPaintLayerPainter {
+ STACK_ALLOCATED();
public:
enum FragmentPolicy { AllowMultipleFragments, ForceSingleFragment };

Powered by Google App Engine
This is Rietveld 408576698