Index: third_party/WebKit/Source/core/editing/GranularityStrategy.h |
diff --git a/third_party/WebKit/Source/core/editing/GranularityStrategy.h b/third_party/WebKit/Source/core/editing/GranularityStrategy.h |
index e93b29d8d02e7c6610a27b44970dd9ec6e02ca7a..5377c959241d5b1c4f36a00c10af50f621baebb3 100644 |
--- a/third_party/WebKit/Source/core/editing/GranularityStrategy.h |
+++ b/third_party/WebKit/Source/core/editing/GranularityStrategy.h |
@@ -6,7 +6,7 @@ |
#define GranularityStrategy_h |
#include "core/editing/SelectionStrategy.h" |
-#include "core/editing/VisibleSelection.h" |
+#include "core/editing/SelectionTemplate.h" |
#include "wtf/Allocator.h" |
namespace blink { |
@@ -21,7 +21,7 @@ class GranularityStrategy { |
// Calculates and returns the new selection based on the updated extent |
// location in absolute coordinates. |
- virtual VisibleSelection updateExtent(const IntPoint&, LocalFrame*) = 0; |
+ virtual SelectionInDOMTree updateExtent(const IntPoint&, LocalFrame*) = 0; |
protected: |
GranularityStrategy(); |
@@ -36,7 +36,7 @@ class CharacterGranularityStrategy final : public GranularityStrategy { |
// GranularityStrategy: |
SelectionStrategy GetType() const final; |
void Clear() final; |
- VisibleSelection updateExtent(const IntPoint&, LocalFrame*) final; |
+ SelectionInDOMTree updateExtent(const IntPoint&, LocalFrame*) final; |
}; |
// "Expand by word, shrink by character" selection strategy. |
@@ -84,7 +84,7 @@ class DirectionGranularityStrategy final : public GranularityStrategy { |
// GranularityStrategy: |
SelectionStrategy GetType() const final; |
void Clear() final; |
- VisibleSelection updateExtent(const IntPoint&, LocalFrame*) final; |
+ SelectionInDOMTree updateExtent(const IntPoint&, LocalFrame*) final; |
private: |
enum class StrategyState { |