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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 1310583005: Remove overload of WebLayerTreeView::registerSelection. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | « no previous file | public/platform/WebLayerTreeView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « no previous file | public/platform/WebLayerTreeView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698