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

Unified Diff: Source/core/layout/compositing/GraphicsLayerTreeBuilder.h

Issue 1318713003: Make classes and structures in core/layout 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/layout/compositing/GraphicsLayerTreeBuilder.h
diff --git a/Source/core/layout/compositing/GraphicsLayerTreeBuilder.h b/Source/core/layout/compositing/GraphicsLayerTreeBuilder.h
index ad493beca986f7d1e94fb54ecd489ea432ae0f48..df14fc0dd182bc4a6a9c94333f174f078e280778 100644
--- a/Source/core/layout/compositing/GraphicsLayerTreeBuilder.h
+++ b/Source/core/layout/compositing/GraphicsLayerTreeBuilder.h
@@ -28,17 +28,20 @@
#define GraphicsLayerTreeBuilder_h
#include "platform/graphics/GraphicsLayer.h"
+#include "wtf/Allocator.h"
namespace blink {
class DeprecatedPaintLayer;
class GraphicsLayerTreeBuilder {
+ STACK_ALLOCATED();
public:
GraphicsLayerTreeBuilder();
~GraphicsLayerTreeBuilder();
struct AncestorInfo {
+ STACK_ALLOCATED();
AncestorInfo()
: enclosingCompositedLayer(nullptr)
, childLayersOfEnclosingCompositedLayer(nullptr)
« no previous file with comments | « Source/core/layout/compositing/CompositingRequirementsUpdater.h ('k') | Source/core/layout/compositing/GraphicsLayerUpdater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698