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

Unified Diff: Source/core/editing/RenderedPosition.h

Issue 1306003002: Make classes and structures in core/editing 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/editing/RenderedPosition.h
diff --git a/Source/core/editing/RenderedPosition.h b/Source/core/editing/RenderedPosition.h
index cf92e9145eb39ec690fc7e261ed7628919ef496f..78f43b504c3fdf9ff5b99d6fe38f8538af2b0327 100644
--- a/Source/core/editing/RenderedPosition.h
+++ b/Source/core/editing/RenderedPosition.h
@@ -34,6 +34,7 @@
#include "core/CoreExport.h"
#include "core/editing/Position.h"
#include "core/layout/line/InlineBox.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -43,6 +44,7 @@ class VisiblePosition;
struct CompositedSelectionBound;
class RenderedPosition {
+ STACK_ALLOCATED();
public:
RenderedPosition();
explicit RenderedPosition(const VisiblePosition&);

Powered by Google App Engine
This is Rietveld 408576698