| Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| index 740bf93ec79a6804c131a342fb2a0ec9b45738ce..8b3bdeadc65fe0416868ac4a976f1b183ac422a6 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -548,7 +548,7 @@ bool WebFrameWidgetImpl::selectionBounds(WebRect& anchor,
|
| return false;
|
|
|
| FrameSelection& selection = localFrame->selection();
|
| - if (selection.isNone())
|
| + if (selection.computeVisibleSelectionInDOMTreeDeprecated().isNone())
|
| return false;
|
|
|
| // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
|
|