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

Unified Diff: ui/accessibility/ax_tree_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
Index: ui/accessibility/ax_tree_unittest.cc
diff --git a/ui/accessibility/ax_tree_unittest.cc b/ui/accessibility/ax_tree_unittest.cc
index 40933e8a1b2ef29ebd2216830b336bdb85568b4f..083891ccc3f5222fae04fd541e99e7f277d0bf5d 100644
--- a/ui/accessibility/ax_tree_unittest.cc
+++ b/ui/accessibility/ax_tree_unittest.cc
@@ -119,7 +119,7 @@ TEST(AXTreeTest, SerializeSimpleAXTree) {
root.id = 1;
root.role = AX_ROLE_DIALOG;
root.state = 1 << AX_STATE_FOCUSABLE;
- root.location = gfx::Rect(0, 0, 800, 600);
+ root.location = gfx::RectF(0, 0, 800, 600);
root.child_ids.push_back(2);
root.child_ids.push_back(3);
@@ -127,13 +127,13 @@ TEST(AXTreeTest, SerializeSimpleAXTree) {
button.id = 2;
button.role = AX_ROLE_BUTTON;
button.state = 0;
- button.location = gfx::Rect(20, 20, 200, 30);
+ button.location = gfx::RectF(20, 20, 200, 30);
AXNodeData checkbox;
checkbox.id = 3;
checkbox.role = AX_ROLE_CHECK_BOX;
checkbox.state = 0;
- checkbox.location = gfx::Rect(20, 50, 200, 30);
+ checkbox.location = gfx::RectF(20, 50, 200, 30);
AXTreeUpdate initial_state;
initial_state.root_id = 1;
« no previous file with comments | « ui/accessibility/ax_tree_combiner_unittest.cc ('k') | ui/accessibility/platform/ax_platform_node_auralinux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698