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

Unified Diff: Source/core/editing/RenderedPosition.cpp

Issue 1295893006: Move computeInlineBoxPosition out from PositionAlgorithm class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-20T22:30:52 Rebase 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 | « Source/core/editing/Position.cpp ('k') | Source/core/editing/VisiblePosition.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/RenderedPosition.cpp
diff --git a/Source/core/editing/RenderedPosition.cpp b/Source/core/editing/RenderedPosition.cpp
index eb34af25a5e9278577e4a6a5a4038dc674fd40de..cc7acdaf25e7b21149ad073d0b340f34cdf5f6e2 100644
--- a/Source/core/editing/RenderedPosition.cpp
+++ b/Source/core/editing/RenderedPosition.cpp
@@ -92,7 +92,7 @@ RenderedPosition::RenderedPosition(const Position& position, TextAffinity affini
{
if (position.isNull())
return;
- InlineBoxPosition boxPosition = position.computeInlineBoxPosition(affinity);
+ InlineBoxPosition boxPosition = computeInlineBoxPosition(position, affinity);
m_inlineBox = boxPosition.inlineBox;
m_offset = boxPosition.offsetInBox;
if (m_inlineBox)
« no previous file with comments | « Source/core/editing/Position.cpp ('k') | Source/core/editing/VisiblePosition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698