Commit b9f40952 authored by esprehn@chromium.org's avatar esprehn@chromium.org

Remove overload of WebLayerTreeView::registerSelection.

This plumbing doesn't go anywhere anymore.

R=jdduke@chromium.org

Review URL: https://codereview.chromium.org/1310583005

git-svn-id: svn://svn.chromium.org/blink/trunk@201770 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent cff44236
...@@ -1974,11 +1974,8 @@ void WebViewImpl::clearCompositedSelection() ...@@ -1974,11 +1974,8 @@ void WebViewImpl::clearCompositedSelection()
void WebViewImpl::updateCompositedSelection(const WebSelection& selection) void WebViewImpl::updateCompositedSelection(const WebSelection& selection)
{ {
if (m_layerTreeView) { if (m_layerTreeView)
m_layerTreeView->registerSelection(selection); 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() bool WebViewImpl::hasHorizontalScrollbar()
......
...@@ -142,8 +142,6 @@ public: ...@@ -142,8 +142,6 @@ public:
virtual void clearViewportLayers() { } virtual void clearViewportLayers() { }
// Used to update the active selection bounds. // Used to update the active selection bounds.
// FIXME: Remove this overload when downstream consumers have been updated to use WebSelection, crbug.com/466672.
virtual void registerSelection(const WebSelectionBound& start, const WebSelectionBound& end) { }
virtual void registerSelection(const WebSelection&) { } virtual void registerSelection(const WebSelection&) { }
virtual void clearSelection() { } virtual void clearSelection() { }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment