Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index e0e71cfa4b851c1b80e953906cff8390946ba210..792ea21c32773a7a6441425378a8d9048d7c6cf2 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -1874,6 +1874,12 @@ void WebViewImpl::clearCompositedSelectionBounds() |
m_layerTreeView->clearSelection(); |
} |
+void WebViewImpl::updateCompositedSelectionBounds(const WebSelectionBound& anchor, const WebSelectionBound& focus) |
+{ |
+ if (m_layerTreeView) |
+ m_layerTreeView->registerSelection(anchor, focus); |
+} |
+ |
bool WebViewImpl::hasHorizontalScrollbar() |
{ |
return mainFrameImpl()->frameView()->horizontalScrollbar(); |