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

Unified Diff: Source/core/paint/DeprecatedPaintLayerPaintingInfo.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/DeprecatedPaintLayerPaintingInfo.h
diff --git a/Source/core/paint/DeprecatedPaintLayerPaintingInfo.h b/Source/core/paint/DeprecatedPaintLayerPaintingInfo.h
index 7745807d6e5871f4627ad9934a2127869f3e22e3..52889798992189806ec2ace2990c96f8ca9d04c9 100644
--- a/Source/core/paint/DeprecatedPaintLayerPaintingInfo.h
+++ b/Source/core/paint/DeprecatedPaintLayerPaintingInfo.h
@@ -47,6 +47,7 @@
#include "core/paint/PaintPhase.h"
#include "platform/geometry/LayoutRect.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -75,6 +76,7 @@ enum PaintLayerFlag {
typedef unsigned PaintLayerFlags;
struct DeprecatedPaintLayerPaintingInfo {
+ STACK_ALLOCATED();
DeprecatedPaintLayerPaintingInfo(DeprecatedPaintLayer* inRootLayer, const LayoutRect& inDirtyRect,
GlobalPaintFlags globalPaintFlags, const LayoutSize& inSubPixelAccumulation,
LayoutObject* inPaintingRoot = 0)

Powered by Google App Engine
This is Rietveld 408576698