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

Unified Diff: Source/core/layout/compositing/CompositedSelection.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/CompositedSelection.h
diff --git a/Source/core/layout/compositing/CompositedSelection.h b/Source/core/layout/compositing/CompositedSelection.h
index 8a5baa289b95c06d5a3249c7b56bc970f9bc8281..f265d566c3a28d02a51806706287e0da6a904a44 100644
--- a/Source/core/layout/compositing/CompositedSelection.h
+++ b/Source/core/layout/compositing/CompositedSelection.h
@@ -35,6 +35,7 @@
#include "core/layout/compositing/CompositedSelectionBound.h"
#include "platform/geometry/FloatPoint.h"
#include "platform/graphics/GraphicsLayer.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -42,7 +43,7 @@ namespace blink {
// end points as well as metadata for the selection region.
// See |WebSelection|.
struct CompositedSelection {
-
+ STACK_ALLOCATED();
CompositedSelection()
: type(NoSelection)
, isEditable(false)

Powered by Google App Engine
This is Rietveld 408576698