Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index a170b30c711d430597a550f8a410233e7b41e766..12985b64a59942fea2d6614f2c85265b436b43fb 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -1865,6 +1865,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(); |