Index: third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp |
index bd1254aea0376522dce5fbd9ccdcf9b8c047e93c..a549e87a35dc9a68a30dab1a782570fd71910642 100644 |
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp |
@@ -256,9 +256,6 @@ float ShapeResult::PositionForOffset(unsigned absolute_offset) const { |
x += runs_[i]->width_; |
} |
- if (Rtl()) |
- x -= Width(); |
- |
// The position in question might be just after the text. |
if (!offset_x && absolute_offset == NumCharacters()) |
return Rtl() ? 0 : width_; |