| Index: Source/core/editing/Caret.cpp
|
| diff --git a/Source/core/editing/Caret.cpp b/Source/core/editing/Caret.cpp
|
| index 8b840276788d8792302f7f8522e67053c4336fa9..2ac419d21a0ab71a2331fbc91c6f032a825c90ba 100644
|
| --- a/Source/core/editing/Caret.cpp
|
| +++ b/Source/core/editing/Caret.cpp
|
| @@ -152,7 +152,8 @@ static void mapCaretRectToCaretPainter(LayoutObject* caretLayoutObject, LayoutBl
|
| unrooted = true;
|
| break;
|
| }
|
| - caretRect.move(caretLayoutObject->offsetFromContainer(containerObject, caretRect.location()));
|
| + caretRect.move(caretLayoutObject->offsetFromContainer(containerObject));
|
| + caretRect.move(caretLayoutObject->columnOffset(caretRect.location())); // TODO(mstensho): do we need this? And what about the FIXME further above that suggests that we use mapLocalToContainer() instead?
|
| caretLayoutObject = containerObject;
|
| }
|
|
|
|
|