Commit c0068511 authored by Yuki Awano's avatar Yuki Awano Committed by Commit Bot

Fix ArcAccessibilityHelperBridgeTest.NotificationEventArriveFirst

Bug: 817264
Test: ArcAccessibilityHelperBridgeTest.NotificationEventArriveFirst
Change-Id: Id9c90466a335680355ac83fc6d8b70a387c53b99
Reviewed-on: https://chromium-review.googlesource.com/940902Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
Commit-Queue: Yuki Awano <yawano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#539755}
parent 0ec2d0ee
...@@ -318,7 +318,7 @@ TEST_F(ArcAccessibilityHelperBridgeTest, NotificationEventArriveFirst) { ...@@ -318,7 +318,7 @@ TEST_F(ArcAccessibilityHelperBridgeTest, NotificationEventArriveFirst) {
// expected behavior. // expected behavior.
auto it2 = notification_key_to_tree_.find(kNotificationKey); auto it2 = notification_key_to_tree_.find(kNotificationKey);
EXPECT_NE(notification_key_to_tree_.end(), it2); EXPECT_NE(notification_key_to_tree_.end(), it2);
AXTreeSourceArc* tree2 = it->second.get(); AXTreeSourceArc* tree2 = it2->second.get();
ui::AXTreeData tree_data2; ui::AXTreeData tree_data2;
tree2->GetTreeData(&tree_data2); tree2->GetTreeData(&tree_data2);
EXPECT_EQ(tree_data2.tree_id, test_surface.GetAXTreeId()); EXPECT_EQ(tree_data2.tree_id, test_surface.GetAXTreeId());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment