mirror of
https://github.com/aphrody-labs/cef.git
synced 2026-10-14 05:09:23 +00:00
win: dxil.dll is no longer distributed mac: Xcode 27 (macOS 26.6+) is now required
16 lines
736 B
Diff
16 lines
736 B
Diff
diff --git ui/accessibility/platform/ax_platform_node_win.cc ui/accessibility/platform/ax_platform_node_win.cc
|
|
index a3a11340fac9aba6705ce9b779f66611afc1937d..4ec694c4764bc97ea4798b6c89b35f1886a6fe1a 100644
|
|
--- ui/accessibility/platform/ax_platform_node_win.cc
|
|
+++ ui/accessibility/platform/ax_platform_node_win.cc
|
|
@@ -1685,6 +1685,10 @@ IFACEMETHODIMP AXPlatformNodeWin::accLocation(LONG* physical_pixel_left,
|
|
AXPlatform::GetInstance().SetMsaaActive();
|
|
AXPlatform::GetInstance().OnMinimalPropertiesUsed();
|
|
|
|
+ if (!target || target->IsDestroyed()) {
|
|
+ return S_FALSE;
|
|
+ }
|
|
+
|
|
gfx::Rect bounds = target->GetDelegate()->GetBoundsRect(
|
|
AXCoordinateSystem::kScreenPhysicalPixels,
|
|
AXClippingBehavior::kUnclipped);
|