Index: Source/core/dom/Position.h |
diff --git a/Source/core/dom/Position.h b/Source/core/dom/Position.h |
index d2b1d1e552fa20b0ee464fa32e2dde7ba10a95a4..2c04aabd65bd6beead69854fafdcec06a1561891 100644 |
--- a/Source/core/dom/Position.h |
+++ b/Source/core/dom/Position.h |
@@ -122,6 +122,13 @@ public: |
Node* anchorNode() const { return m_anchorNode.get(); } |
+ // FIXME: We should replace anchorNode()->renderer() and deprecatedNode()->renderer() |
+ // with rendererOfAnchorNode(). |
+ RenderObject* rendererOfAnchorNode() const; |
+ |
+ // New code should not use this function. |
+ int deprecatedOffsetInRendererOfAnchorNode() const; |
+ |
// FIXME: Callers should be moved off of node(), node() is not always the container for this position. |
// For nodes which editingIgnoresContent(node()) returns true, positions like [ignoredNode, 0] |
// will be treated as before ignoredNode (thus node() is really after the position, not containing it). |