| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index b11fc7b00b89d9196a7b2140ab615b247ed54179..93281bfa9bdd022a48a26d137f50d11df7ea897d 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1149,7 +1149,7 @@ void WebLocalFrameImpl::selectWordAroundPosition(LocalFrame* frame,
|
| bool WebLocalFrameImpl::selectWordAroundCaret() {
|
| TRACE_EVENT0("blink", "WebLocalFrameImpl::selectWordAroundCaret");
|
| FrameSelection& selection = frame()->selection();
|
| - if (selection.isNone() ||
|
| + if (selection.computeVisibleSelectionInDOMTreeDeprecated().isNone() ||
|
| selection.computeVisibleSelectionInDOMTreeDeprecated().isRange())
|
| return false;
|
|
|
|
|