Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2680943004: Make FrameSelection to hold non-canonicalized positions (Closed)
Patch Set: 2017-02-14T18:34:24 Update test expectation for crrev.com/2694043004 Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698