mirror of
https://github.com/aphrody-labs/cef.git
synced 2026-10-14 05:09:23 +00:00
Change list: https://chromium.googlesource.com/chromium/src/+log/refs/tags/148.0.7778.40..refs/tags/148.0.7778.56
16 lines
770 B
Diff
16 lines
770 B
Diff
diff --git ui/accessibility/platform/ax_platform_node_win.cc ui/accessibility/platform/ax_platform_node_win.cc
|
|
index ff199a7f640fd43391bca752440315dc37d37f5a..88ef3a199d22a49b4760b08162ca3a1ae57f0adf 100644
|
|
--- ui/accessibility/platform/ax_platform_node_win.cc
|
|
+++ ui/accessibility/platform/ax_platform_node_win.cc
|
|
@@ -1662,6 +1662,10 @@ IFACEMETHODIMP AXPlatformNodeWin::accLocation(LONG* physical_pixel_left,
|
|
var_id, physical_pixel_left, physical_pixel_top, width, height, target);
|
|
AXPlatform::GetInstance().OnMinimalPropertiesUsed();
|
|
|
|
+ if (!target || target->IsDestroyed()) {
|
|
+ return S_FALSE;
|
|
+ }
|
|
+
|
|
gfx::Rect bounds = target->GetDelegate()->GetBoundsRect(
|
|
AXCoordinateSystem::kScreenPhysicalPixels,
|
|
AXClippingBehavior::kUnclipped);
|