Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 92175fd6a8a5a120555b88b7b169f7b5fecd4e28..dfb9257433b6a5b1a70054ecb2b7f8398857b8f8 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -1839,6 +1839,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(); |