| Index: Source/core/editing/FrameSelection.cpp
|
| diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp
|
| index c1b5bbc6bf21cd758889ffdab88cdcd19e093712..c79e1053420a19809bb27fab965794a36b50d79b 100644
|
| --- a/Source/core/editing/FrameSelection.cpp
|
| +++ b/Source/core/editing/FrameSelection.cpp
|
| @@ -1282,7 +1282,7 @@ IntRect FrameSelection::absoluteCaretBounds()
|
| clearCaretRect();
|
| } else {
|
| if (isTextFormControl(m_selection))
|
| - updateCaretRect(PositionWithAffinity(m_selection.start().isCandidate() ? m_selection.start() : Position(), m_selection.affinity()));
|
| + updateCaretRect(PositionWithAffinity(isVisuallyEquivalentCandidate(m_selection.start()) ? m_selection.start() : Position(), m_selection.affinity()));
|
| else
|
| updateCaretRect(VisiblePosition(m_selection.start(), m_selection.affinity()));
|
| }
|
|
|