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

Unified Diff: Source/core/layout/LayoutView.cpp

Issue 1202153004: Enable selection for the composed tree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename the flag Created 5 years, 6 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
« no previous file with comments | « Source/core/editing/VisibleSelection.cpp ('k') | Source/core/layout/PendingSelection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutView.cpp
diff --git a/Source/core/layout/LayoutView.cpp b/Source/core/layout/LayoutView.cpp
index 3034c3af7117c946acd22f826b7ce85cc912c9a3..02bd0e871c1e4eca0e1724e31eb3e5b0f5764760 100644
--- a/Source/core/layout/LayoutView.cpp
+++ b/Source/core/layout/LayoutView.cpp
@@ -804,6 +804,8 @@ void LayoutView::commitPendingSelectionAlgorithm()
void LayoutView::commitPendingSelection()
{
+ if (RuntimeEnabledFeatures::selectionForComposedTreeEnabled())
+ return commitPendingSelectionAlgorithm<VisibleSelection::InComposedTree>();
commitPendingSelectionAlgorithm<VisibleSelection::InDOMTree>();
}
« no previous file with comments | « Source/core/editing/VisibleSelection.cpp ('k') | Source/core/layout/PendingSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698