Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
index b698e348d9b5176d89e108eb84b7ddabacad4367..6d5853967979d907d2af3e104cb201bd7ab28150 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
@@ -725,7 +725,7 @@ std::unique_ptr<DragImage> LocalFrame::nodeImage(Node& node) { |
} |
std::unique_ptr<DragImage> LocalFrame::dragImageForSelection(float opacity) { |
- if (!selection().isRange()) |
+ if (!selection().computeVisibleSelectionInDOMTreeDeprecated().isRange()) |
return nullptr; |
m_view->updateAllLifecyclePhasesExceptPaint(); |