Index: Source/core/editing/VisibleSelection.h |
diff --git a/Source/core/editing/VisibleSelection.h b/Source/core/editing/VisibleSelection.h |
index eac2b4230e7219ce0261be0ce262a787bf8c99f8..c288c0de3418e30df7849c3d51313a4a9061c34d 100644 |
--- a/Source/core/editing/VisibleSelection.h |
+++ b/Source/core/editing/VisibleSelection.h |
@@ -34,6 +34,7 @@ |
#include "core/editing/TextGranularity.h" |
#include "core/editing/VisiblePosition.h" |
#include "core/editing/VisibleUnits.h" |
+#include "wtf/Allocator.h" |
namespace blink { |
@@ -48,6 +49,7 @@ class CORE_EXPORT VisibleSelection { |
DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(VisibleSelection); |
public: |
class InDOMTree { |
+ STATIC_ONLY(InDOMTree); |
public: |
using PositionType = Position; |
using Strategy = EditingStrategy; |
@@ -65,6 +67,7 @@ public: |
}; |
class InComposedTree { |
+ STATIC_ONLY(InComposedTree); |
public: |
using PositionType = PositionInComposedTree; |
using Strategy = EditingInComposedTreeStrategy; |