Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1296)

Unified Diff: ui/accessibility/ax_tree_combiner_unittest.cc

Issue 2154213007: Replace gfx::Rect with gfx::RectF in ui::AXNodeData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win compile Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/accessibility/ax_tree_combiner.cc ('k') | ui/accessibility/ax_tree_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_tree_combiner_unittest.cc
diff --git a/ui/accessibility/ax_tree_combiner_unittest.cc b/ui/accessibility/ax_tree_combiner_unittest.cc
index 49f2050ce0f895874f236e0cdf48f5764243db46..49fbccc988f976d27bcd579cab78d9a6f65b6087 100644
--- a/ui/accessibility/ax_tree_combiner_unittest.cc
+++ b/ui/accessibility/ax_tree_combiner_unittest.cc
@@ -160,7 +160,7 @@ TEST(CombineAXTreesTest, Coordinates) {
parent_tree.nodes[0].child_ids.push_back(3);
parent_tree.nodes[1].id = 2;
parent_tree.nodes[1].role = AX_ROLE_BUTTON;
- parent_tree.nodes[1].location = gfx::Rect(50, 10, 200, 100);
+ parent_tree.nodes[1].location = gfx::RectF(50, 10, 200, 100);
parent_tree.nodes[2].id = 3;
parent_tree.nodes[2].role = AX_ROLE_IFRAME;
parent_tree.nodes[2].AddIntAttribute(AX_ATTR_CHILD_TREE_ID, 2);
@@ -180,7 +180,7 @@ TEST(CombineAXTreesTest, Coordinates) {
child_tree.nodes[1].id = 2;
child_tree.nodes[1].role = AX_ROLE_BUTTON;
- child_tree.nodes[1].location = gfx::Rect(50, 10, 200, 100);
+ child_tree.nodes[1].location = gfx::RectF(50, 10, 200, 100);
AXTreeCombiner combiner;
combiner.AddTree(parent_tree, true);
« no previous file with comments | « ui/accessibility/ax_tree_combiner.cc ('k') | ui/accessibility/ax_tree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698