From e9ed8eafdfd124a2af7a6d0abdc4652809b6090c Mon Sep 17 00:00:00 2001 From: schectman Date: Fri, 3 Mar 2023 16:23:50 -0500 Subject: [PATCH] Revert UIA --- shell/platform/windows/BUILD.gn | 7 +------ shell/platform/windows/window_unittests.cc | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/shell/platform/windows/BUILD.gn b/shell/platform/windows/BUILD.gn index fcd51e7cddf83..1f7a850b07135 100644 --- a/shell/platform/windows/BUILD.gn +++ b/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/shell/platform/windows/window_unittests.cc b/shell/platform/windows/window_unittests.cc index 251ef3f217f1f..97b3f70c55127 100644 --- a/shell/platform/windows/window_unittests.cc +++ b/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)