| Index: sky/engine/core/rendering/RenderBox.cpp
|
| diff --git a/sky/engine/core/rendering/RenderBox.cpp b/sky/engine/core/rendering/RenderBox.cpp
|
| index 6f6a079e1fa2dc8adf68866c8f4e269f7805d4c7..7a741978f8f2feef045740eb7b30b6a811b209ec 100644
|
| --- a/sky/engine/core/rendering/RenderBox.cpp
|
| +++ b/sky/engine/core/rendering/RenderBox.cpp
|
| @@ -3054,7 +3054,7 @@ PositionWithAffinity RenderBox::positionForPoint(const LayoutPoint& point)
|
| // no children...return this render object's element, if there is one, and offset 0
|
| RenderObject* firstChild = slowFirstChild();
|
| if (!firstChild)
|
| - return createPositionWithAffinity(nonPseudoNode() ? firstPositionInOrBeforeNode(nonPseudoNode()) : Position());
|
| + return createPositionWithAffinity(node() ? firstPositionInOrBeforeNode(node()) : Position());
|
|
|
| // Pass off to the closest child.
|
| LayoutUnit minDist = LayoutUnit::max();
|
| @@ -3113,7 +3113,7 @@ PositionWithAffinity RenderBox::positionForPoint(const LayoutPoint& point)
|
|
|
| if (closestRenderer)
|
| return closestRenderer->positionForPoint(adjustedPoint - closestRenderer->locationOffset());
|
| - return createPositionWithAffinity(firstPositionInOrBeforeNode(nonPseudoNode()));
|
| + return createPositionWithAffinity(firstPositionInOrBeforeNode(node()));
|
| }
|
|
|
| InvalidationReason RenderBox::getPaintInvalidationReason(const RenderLayerModelObject& paintInvalidationContainer,
|
|
|