Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index c8b90f1beedfde3828fab4fb6c5a4aaddc8f64f8..4f6b22a57f072d8d08c3e627272eac9d3a80d8c5 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -1974,11 +1974,8 @@ void WebViewImpl::clearCompositedSelection() |
void WebViewImpl::updateCompositedSelection(const WebSelection& selection) |
{ |
- if (m_layerTreeView) { |
+ if (m_layerTreeView) |
m_layerTreeView->registerSelection(selection); |
- // TODO(jdduke): Remove this overload when downstream consumers have been updated, crbug.com/466672. |
- m_layerTreeView->registerSelection(selection.start(), selection.end()); |
- } |
} |
bool WebViewImpl::hasHorizontalScrollbar() |