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 60ef11f88e84ba158b36575c08318e9e913148e2..49b8405a80234f1ff2ac828e0c81de937bfd7fbf 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -1979,7 +1979,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; |