Index: sky/engine/core/editing/VisibleUnits.cpp |
diff --git a/sky/engine/core/editing/VisibleUnits.cpp b/sky/engine/core/editing/VisibleUnits.cpp |
index 8fc7c76264761655538f8531d67553fc658d9aee..aa6bf6a51613cfa2beb21cebe187ed994251015f 100644 |
--- a/sky/engine/core/editing/VisibleUnits.cpp |
+++ b/sky/engine/core/editing/VisibleUnits.cpp |
@@ -883,8 +883,6 @@ static inline IntPoint absoluteLineDirectionPointToLocalPointInBlock(RootInlineB |
ASSERT(root); |
RenderBlockFlow& containingBlock = root->block(); |
FloatPoint absoluteBlockPoint = containingBlock.localToAbsolute(FloatPoint()); |
- if (containingBlock.hasOverflowClip()) |
- absoluteBlockPoint -= containingBlock.scrolledContentOffset(); |
return IntPoint(lineDirectionPoint - absoluteBlockPoint.x(), root->blockDirectionPointInLine()); |
} |