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

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: Fix copyright Created 5 years, 9 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 6a9ea311908a172064e3bef4cf2067366cbdee4f..1a0fe2b23f8c17241c000cae9b6c4aa60f7bacd1 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -2021,10 +2021,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