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

Unified Diff: Source/core/paint/FilterPainter.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/FilterPainter.h
diff --git a/Source/core/paint/FilterPainter.h b/Source/core/paint/FilterPainter.h
index f6923d51c8705d47dbfd50e803dc3107359351f8..8185740a86747a0a47d96518bbcd82b178b64c78 100644
--- a/Source/core/paint/FilterPainter.h
+++ b/Source/core/paint/FilterPainter.h
@@ -6,6 +6,7 @@
#define FilterPainter_h
#include "core/paint/DeprecatedPaintLayerPaintingInfo.h"
+#include "wtf/Allocator.h"
#include "wtf/OwnPtr.h"
namespace blink {
@@ -16,6 +17,7 @@ class DeprecatedPaintLayer;
class LayerClipRecorder;
class FilterPainter {
+ STACK_ALLOCATED();
public:
FilterPainter(DeprecatedPaintLayer&, GraphicsContext*, const LayoutPoint& offsetFromRoot, const ClipRect&, DeprecatedPaintLayerPaintingInfo&, PaintLayerFlags paintFlags, LayoutRect& rootRelativeBounds, bool& rootRelativeBoundsComputed);
~FilterPainter();

Powered by Google App Engine
This is Rietveld 408576698