| Index: sky/engine/core/editing/VisibleUnits.cpp
|
| diff --git a/sky/engine/core/editing/VisibleUnits.cpp b/sky/engine/core/editing/VisibleUnits.cpp
|
| index b750b4ad7e4ddd23f688540d7a9f5c35404ef9ed..f2cce173be863ff4032117e5cd9f1fd49eb3e6fc 100644
|
| --- a/sky/engine/core/editing/VisibleUnits.cpp
|
| +++ b/sky/engine/core/editing/VisibleUnits.cpp
|
| @@ -214,7 +214,7 @@ static const InlineTextBox* logicallyPreviousBox(const VisiblePosition& visibleP
|
| return previousBox;
|
|
|
| while (1) {
|
| - Node* startNode = startBox->renderer().nonPseudoNode();
|
| + Node* startNode = startBox->renderer().node();
|
| if (!startNode)
|
| break;
|
|
|
| @@ -255,7 +255,7 @@ static const InlineTextBox* logicallyNextBox(const VisiblePosition& visiblePosit
|
| return nextBox;
|
|
|
| while (1) {
|
| - Node* startNode =startBox->renderer().nonPseudoNode();
|
| + Node* startNode =startBox->renderer().node();
|
| if (!startNode)
|
| break;
|
|
|
| @@ -716,7 +716,7 @@ static VisiblePosition startPositionForLine(const VisiblePosition& c, LineEndpoi
|
| if (!startBox)
|
| return VisiblePosition();
|
|
|
| - startNode = startBox->renderer().nonPseudoNode();
|
| + startNode = startBox->renderer().node();
|
| if (startNode)
|
| break;
|
|
|
| @@ -783,7 +783,7 @@ static VisiblePosition endPositionForLine(const VisiblePosition& c, LineEndpoint
|
| if (!endBox)
|
| return VisiblePosition();
|
|
|
| - endNode = endBox->renderer().nonPseudoNode();
|
| + endNode = endBox->renderer().node();
|
| if (endNode)
|
| break;
|
|
|
|
|