Index: third_party/WebKit/Source/core/editing/SelectionAdjuster.cpp |
diff --git a/third_party/WebKit/Source/core/editing/SelectionAdjuster.cpp b/third_party/WebKit/Source/core/editing/SelectionAdjuster.cpp |
index 82afb0b2e9658467ab5fda32e1ca971bde0e11ab..9e99f58a1dee5b9c5b1efe1f47132128a3e8353e 100644 |
--- a/third_party/WebKit/Source/core/editing/SelectionAdjuster.cpp |
+++ b/third_party/WebKit/Source/core/editing/SelectionAdjuster.cpp |
@@ -175,6 +175,7 @@ void SelectionAdjuster::adjustSelectionInFlatTree( |
selectionInFlatTree->m_granularity = selection.m_granularity; |
selectionInFlatTree->m_hasTrailingWhitespace = |
selection.m_hasTrailingWhitespace; |
+ selectionInFlatTree->m_isHandleVisible = selection.m_isHandleVisible; |
selectionInFlatTree->m_baseIsFirst = |
base.isNull() || base.compareTo(extent) <= 0; |
if (position1.compareTo(position2) <= 0) { |
@@ -232,6 +233,7 @@ void SelectionAdjuster::adjustSelectionInDOMTree( |
selection->m_granularity = selectionInFlatTree.m_granularity; |
selection->m_hasTrailingWhitespace = |
selectionInFlatTree.m_hasTrailingWhitespace; |
+ selection->m_isHandleVisible = selectionInFlatTree.m_isHandleVisible; |
selection->m_baseIsFirst = base.isNull() || base.compareTo(extent) <= 0; |
if (position1.compareTo(position2) <= 0) { |
selection->m_start = position1; |