Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 32ea4c39b4ab1fa813e1725558d86faaaeec4bb4..82d447b80a6e6469f5d83d0d64c53f9697e29a86 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -1899,6 +1899,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(); |