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