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

Unified Diff: Source/core/layout/compositing/CompositedSelectionBound.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/CompositedSelectionBound.h
diff --git a/Source/core/layout/compositing/CompositedSelectionBound.h b/Source/core/layout/compositing/CompositedSelectionBound.h
index 10d25af08ef0edc55256eef4c37301dcf4859672..54cc7e0c60d4ad8f1d9ada08baa775bf0ae346cf 100644
--- a/Source/core/layout/compositing/CompositedSelectionBound.h
+++ b/Source/core/layout/compositing/CompositedSelectionBound.h
@@ -33,10 +33,12 @@
#include "platform/geometry/FloatPoint.h"
#include "platform/graphics/GraphicsLayer.h"
+#include "wtf/Allocator.h"
namespace blink {
struct CompositedSelectionBound {
+ STACK_ALLOCATED();
CompositedSelectionBound()
: layer(nullptr)
, isTextDirectionRTL(false)
« no previous file with comments | « Source/core/layout/compositing/CompositedSelection.h ('k') | Source/core/layout/compositing/CompositingInputsUpdater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698