Index: Source/core/frame/LocalFrame.h |
diff --git a/Source/core/frame/LocalFrame.h b/Source/core/frame/LocalFrame.h |
index bb80049b91ff36f474d25ba3e12a93e3dea4f7d6..ff6435e7c985ccd9b39a842d1b758916941cc568 100644 |
--- a/Source/core/frame/LocalFrame.h |
+++ b/Source/core/frame/LocalFrame.h |
@@ -72,7 +72,7 @@ class TreeScope; |
class ScriptController; |
class SpellChecker; |
class TreeScope; |
-class VisiblePosition; |
+template <typename Strategy> class PositionWithAffinityTemplate; |
class CORE_EXPORT LocalFrame : public Frame, public LocalFrameLifecycleNotifier, public WillBeHeapSupplementable<LocalFrame> { |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LocalFrame); |
@@ -159,7 +159,7 @@ public: |
String selectedText() const; |
String selectedTextForClipboard() const; |
- VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); |
+ PositionWithAffinityTemplate<EditingAlgorithm<NodeTraversal>> positionForPoint(const IntPoint& framePoint); |
Document* documentAtPoint(const IntPoint& windowPoint); |
EphemeralRangeTemplate<EditingAlgorithm<NodeTraversal>> rangeForPoint(const IntPoint& framePoint); |