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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 929213004: Plumb selection bounds as a single unit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 9d314fb083d8c013b0979c995412fab2c297abae..0288eb5d5c694b2e4548459a33f8172000415fc9 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -1992,10 +1992,10 @@ void WebViewImpl::clearCompositedSelectionBounds()
m_layerTreeView->clearSelection();
}
-void WebViewImpl::updateCompositedSelectionBounds(const WebSelectionBound& anchor, const WebSelectionBound& focus)
+void WebViewImpl::updateCompositedSelectionBounds(const WebSelectionBounds& bounds)
{
if (m_layerTreeView)
- m_layerTreeView->registerSelection(anchor, focus);
+ m_layerTreeView->registerSelection(bounds);
}
bool WebViewImpl::hasHorizontalScrollbar()

Powered by Google App Engine
This is Rietveld 408576698