From 839f6c33d229cb056a8524401c944c171fa64b8c Mon Sep 17 00:00:00 2001 From: yaakovschectman <109111084+yaakovschectman@users.noreply.github.com> Date: Fri, 3 Mar 2023 22:17:46 +0000 Subject: [PATCH] Revert UIA (flutter/engine#40062) --- engine/src/flutter/shell/platform/windows/BUILD.gn | 7 +------ .../src/flutter/shell/platform/windows/window_unittests.cc | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/engine/src/flutter/shell/platform/windows/BUILD.gn b/engine/src/flutter/shell/platform/windows/BUILD.gn index fcd51e7cdd..1f7a850b07 100644 --- a/engine/src/flutter/shell/platform/windows/BUILD.gn +++ b/engine/src/flutter/shell/platform/windows/BUILD.gn @@ -122,10 +122,7 @@ source_set("flutter_windows_source") { public_configs = [ ":relative_angle_headers" ] - defines = [ - "FLUTTER_ENGINE_NO_PROTOTYPES", - "FLUTTER_ENGINE_USE_UIA", - ] + defines = [ "FLUTTER_ENGINE_NO_PROTOTYPES" ] public_deps = [ "//flutter/fml:string_conversion", @@ -230,8 +227,6 @@ executable("flutter_windows_unittests") { public_configs = [ "//flutter:config" ] - defines = [ "FLUTTER_ENGINE_USE_UIA" ] - deps = [ ":flutter_windows_fixtures", ":flutter_windows_headers", diff --git a/engine/src/flutter/shell/platform/windows/window_unittests.cc b/engine/src/flutter/shell/platform/windows/window_unittests.cc index 251ef3f217..97b3f70c55 100644 --- a/engine/src/flutter/shell/platform/windows/window_unittests.cc +++ b/engine/src/flutter/shell/platform/windows/window_unittests.cc @@ -361,7 +361,7 @@ TEST(MockWindow, UnknownPointerTypeSkipsDirectManipulation) { } // Test that the root UIA object is queried by WM_GETOBJECT. -TEST(MockWindow, GetObjectUia) { +TEST(MockWindow, DISABLED_GetObjectUia) { MockWindow window; bool uia_called = false; ON_CALL(window, OnGetObject)