| Index: Source/web/WebFrameWidgetImpl.cpp
|
| diff --git a/Source/web/WebFrameWidgetImpl.cpp b/Source/web/WebFrameWidgetImpl.cpp
|
| index 3bde69ac0d9441140a93ce23ec954bd60279d4f4..d65c0f39a5255b8bbb10a0cd4c7bd30481840ccc 100644
|
| --- a/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -472,7 +472,7 @@ void WebFrameWidgetImpl::setFocus(bool enable)
|
| // contentseditable DIVs. So we set the selection explicitly
|
| // instead. Note that this has the side effect of moving the
|
| // caret back to the beginning of the text.
|
| - Position position(element, 0, Position::PositionIsOffsetInAnchor);
|
| + Position position(element, 0);
|
| localFrame->selection().setSelection(VisibleSelection(position, SEL_DEFAULT_AFFINITY));
|
| }
|
| }
|
|
|