| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 03eff0db2ed476a19c6ff94d34c04f0d759b7efc..003dc00ff061f7e925121196f1597312c39cfed3 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -2200,7 +2200,7 @@ void WebViewImpl::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));
|
| }
|
| }
|
|
|