mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 107.0.5304.0 (#1047731)
This commit is contained in:
@@ -390,7 +390,7 @@ CefRect CefDOMNodeImpl::GetElementBounds() {
|
||||
}
|
||||
|
||||
WebElement element = node_.To<blink::WebElement>();
|
||||
const auto& rc = element.BoundsInViewport();
|
||||
const auto& rc = element.BoundsInWidget();
|
||||
rect.Set(rc.x(), rc.y(), rc.width(), rc.height());
|
||||
|
||||
return rect;
|
||||
|
Reference in New Issue
Block a user