| 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 7a1c25a7383ffffcb86d09f88dcdbf1000fa9c86..c2920fe15f1f6fe94701822eb0628b47217992f1 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1086,7 +1086,10 @@ bool WebLocalFrameImpl::hasSelection() const {
|
| return pluginContainer->plugin()->hasSelection();
|
|
|
| // frame()->selection()->isNone() never returns true.
|
| - return frame()->selection().start() !=
|
| + return frame()
|
| + ->selection()
|
| + .computeVisibleSelectionInDOMTreeDeprecated()
|
| + .start() !=
|
| frame()
|
| ->selection()
|
| .computeVisibleSelectionInDOMTreeDeprecated()
|
|
|