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

Unified Diff: Source/core/layout/SubtreeLayoutScope.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
« no previous file with comments | « Source/core/layout/ScrollAlignment.h ('k') | Source/core/layout/TextAutosizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/SubtreeLayoutScope.h
diff --git a/Source/core/layout/SubtreeLayoutScope.h b/Source/core/layout/SubtreeLayoutScope.h
index d2e2780bab8601449d494bb8da0617e9883fb45f..fd8f43e682cc3411ff8ef324244b751f93a19170 100644
--- a/Source/core/layout/SubtreeLayoutScope.h
+++ b/Source/core/layout/SubtreeLayoutScope.h
@@ -32,6 +32,7 @@
#define SubtreeLayoutScope_h
#include "core/inspector/InspectorTraceEvents.h"
+#include "wtf/Allocator.h"
#include "wtf/HashSet.h"
// This is the way to mark a subtree as needing layout during layout,
@@ -48,6 +49,7 @@ namespace blink {
class LayoutObject;
class SubtreeLayoutScope {
+ STACK_ALLOCATED();
public:
SubtreeLayoutScope(LayoutObject& root);
~SubtreeLayoutScope();
« no previous file with comments | « Source/core/layout/ScrollAlignment.h ('k') | Source/core/layout/TextAutosizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698