Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index 726bfa33117807c48f41bb8dd859f5329bec1254..11bbb642bcff3537fe8d778540f9766346992dec 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -1979,7 +1979,8 @@ |
if (!frame.view() || frame.view()->shouldThrottleRendering()) |
return false; |
- const VisibleSelection& visibleSelection = frame.selection().selection(); |
+ const VisibleSelection& visibleSelection = |
+ frame.selection().computeVisibleSelectionInDOMTree(); |
if (visibleSelection.isNone() || !frame.selection().isHandleVisible()) |
return false; |