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 94b9738bcba2e46c73347ca92297c95115a7e7f8..0620905bfdb507a035f5c8d68ccb6ebecc455bd6 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -1973,7 +1973,8 @@ bool FrameView::computeCompositedSelection(LocalFrame& frame, |
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; |