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

Unified Diff: Source/core/dom/RangeBoundaryPoint.h

Issue 1300823002: Introduce PositionAlgorithm<Strategy>::editingPositionOf() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-18T17:38:11 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
« no previous file with comments | « no previous file | Source/core/editing/Position.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/RangeBoundaryPoint.h
diff --git a/Source/core/dom/RangeBoundaryPoint.h b/Source/core/dom/RangeBoundaryPoint.h
index d7843993f871ad27dc48021337a8ccbef0ece8cc..221de317038c850e3d99e34d3bd204aecc642917 100644
--- a/Source/core/dom/RangeBoundaryPoint.h
+++ b/Source/core/dom/RangeBoundaryPoint.h
@@ -109,7 +109,7 @@ inline void RangeBoundaryPoint::ensureOffsetIsValid() const
inline const Position RangeBoundaryPoint::toPosition() const
{
ensureOffsetIsValid();
- return createLegacyEditingPosition(m_containerNode.get(), m_offsetInContainer);
+ return Position::editingPositionOf(m_containerNode.get(), m_offsetInContainer);
}
inline int RangeBoundaryPoint::offset() const
« no previous file with comments | « no previous file | Source/core/editing/Position.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698